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