##// END OF EJS Templates
display unread notifications only if present, make icon bigger on menu
marcink -
r1931:b6c849e6 beta
parent child Browse files
Show More
@@ -1897,7 +1897,12 b' div.form div.fields div.field div.button'
1897 1897 margin: 0px 0px 0px 0px;
1898 1898 cursor: pointer;
1899 1899 }
1900
1900 .user-menu .gravatar.enabled{
1901 background-color: #FDF784 !important;
1902 }
1903 .user-menu .gravatar:hover{
1904 background-color: #FDF784 !important;
1905 }
1901 1906 #quick_login{
1902 1907 min-height: 80px;
1903 1908 margin: 31px 0 0 -251px;
@@ -4044,10 +4049,10 b' form.comment-inline-form {'
4044 4049 -webkit-border-radius: 4px;
4045 4050 -moz-border-radius: 4px;
4046 4051 float: right;
4047 margin: 24px 0px 0px;
4052 margin: 20px 0px 0px 0px;
4048 4053 position: absolute;
4049 4054 text-align: center;
4050 width: 22px;
4055 width: 26px;
4051 4056 z-index: 1000;
4052 4057 }
4053 4058 .notifications a{
@@ -4061,6 +4066,7 b' form.comment-inline-form {'
4061 4066 }
4062 4067 .notifications a:hover{
4063 4068 text-decoration: none !important;
4069 background-color: #EEEFFF !important;
4064 4070 }
4065 4071 .notification-header{
4066 4072 padding-top:6px;
@@ -64,9 +64,9 b''
64 64 <div class="user-menu">
65 65 <div class="container">
66 66 <div class="gravatar" id="quick_login_link">
67 <img alt="gravatar" src="${h.gravatar_url(c.rhodecode_user.email,20)}" />
67 <img alt="gravatar" src="${h.gravatar_url(c.rhodecode_user.email,24)}" />
68 68 </div>
69 %if c.rhodecode_user.username != 'default':
69 %if c.rhodecode_user.username != 'default' and c.unread_notifications != 0:
70 70 <div class="notifications">
71 71 <a id="notification_counter" href="${h.url('notifications')}">${c.unread_notifications}</a>
72 72 </div>
General Comments 0
You need to be logged in to leave comments. Login now