##// END OF EJS Templates
make gravatar icon little bit bigger, re-use same img src like on other menu items,...
marcink -
r3207:b9de4616 beta
parent child Browse files
Show More
@@ -4532,9 +4532,13 b' form.comment-inline-form {'
4532 float: left;
4532 float: left;
4533 }
4533 }
4534
4534
4535 .notifications {
4535 .menu_link_user{
4536 padding: 2px 7px !important;
4536 padding: 10px 8px 8px 8px !important;
4537 margin: 7px -4px -7px 4px !important;
4537 }
4538
4539 .menu_link_notifications {
4540 padding: 4px 4px !important;
4541 margin: 7px 4px 0px 0px !important;
4538 text-align: center;
4542 text-align: center;
4539 color:#888 !important;
4543 color:#888 !important;
4540 font-size: 10px;
4544 font-size: 10px;
@@ -63,20 +63,19 b''
63 <%def name="usermenu()">
63 <%def name="usermenu()">
64 ## USER MENU
64 ## USER MENU
65 <li>
65 <li>
66 <a class="menu_link" id="quick_login_link">
66 <a class="menu_link" id="quick_login_link">
67 <span class="icon" style="background-image:url(${h.gravatar_url(c.rhodecode_user.email,16)}); background-repeat:no-repeat; background-position:center; ">
67 <span class="icon" style="padding:5px 5px 0px 5px">
68 %if c.rhodecode_user.username != 'default' and c.unread_notifications != -1:
68 <img src="${h.gravatar_url(c.rhodecode_user.email,20)}" alt="avatar">
69 <span class="notifications" href="${h.url('notifications')}">${c.unread_notifications}</span>
69 </span>
70 %endif
70 %if c.rhodecode_user.username != 'default':
71 </span>
71 <span class="menu_link_user">${c.rhodecode_user.username}</span>
72 <span>
72 %if c.unread_notifications != 0:
73 %if c.rhodecode_user.username != 'default':
73 <span class="menu_link_notifications">${c.unread_notifications}</span>
74 ${c.rhodecode_user.username}
74 %endif
75 %else:
75 %else:
76 ${_('Not logged in')}
76 <span>${_('Not logged in')}</span>
77 %endif
77 %endif
78 </span>
78 </a>
79 </a>
80
79
81 <div class="user-menu">
80 <div class="user-menu">
82 <div id="quick_login">
81 <div id="quick_login">
General Comments 0
You need to be logged in to leave comments. Login now