Navbar icon

44 views
Skip to first unread message

Carla Raquel

unread,
May 18, 2015, 10:47:50 AM5/18/15
to web...@googlegroups.com
How can one add an icon before the 'Welcome' message in the navbar,just like the one next to the 'Profile' in the drop-down? I tried using something like <i class="icon icon-user glyphicon glyphicon-user"> in auth.navbar('Welcome',mode='dropdown'), unfortunately to no avail.
Any help would be much appreciated!

Dmitry Ermolaev

unread,
May 25, 2015, 3:51:20 AM5/25/15
to web...@googlegroups.com
auth.navbar(CAT(XML('<i class="icon icon-user glyphicon glyphicon-user">'),T('Welcome') ), mode=...

понедельник, 18 мая 2015 г., 17:47:50 UTC+3 пользователь Carla Raquel написал:

Anthony

unread,
May 25, 2015, 5:22:11 PM5/25/15
to web...@googlegroups.com, eds....@gmail.com
Note, instead of:


XML('<i class="icon icon-user glyphicon glyphicon-user">')

you can do:

I(_class='icon icon-user glyphicon glyphicon-user')

Anthony
Reply all
Reply to author
Forward
0 new messages