##// 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 div.form div.fields div.field div.button
1897 margin: 0px 0px 0px 0px;
1897 margin: 0px 0px 0px 0px;
1898 cursor: pointer;
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 #quick_login{
1906 #quick_login{
1902 min-height: 80px;
1907 min-height: 80px;
1903 margin: 31px 0 0 -251px;
1908 margin: 31px 0 0 -251px;
@@ -4044,10 +4049,10 form.comment-inline-form {
4044 -webkit-border-radius: 4px;
4049 -webkit-border-radius: 4px;
4045 -moz-border-radius: 4px;
4050 -moz-border-radius: 4px;
4046 float: right;
4051 float: right;
4047 margin: 24px 0px 0px;
4052 margin: 20px 0px 0px 0px;
4048 position: absolute;
4053 position: absolute;
4049 text-align: center;
4054 text-align: center;
4050 width: 22px;
4055 width: 26px;
4051 z-index: 1000;
4056 z-index: 1000;
4052 }
4057 }
4053 .notifications a{
4058 .notifications a{
@@ -4061,6 +4066,7 form.comment-inline-form {
4061 }
4066 }
4062 .notifications a:hover{
4067 .notifications a:hover{
4063 text-decoration: none !important;
4068 text-decoration: none !important;
4069 background-color: #EEEFFF !important;
4064 }
4070 }
4065 .notification-header{
4071 .notification-header{
4066 padding-top:6px;
4072 padding-top:6px;
@@ -64,9 +64,9
64 <div class="user-menu">
64 <div class="user-menu">
65 <div class="container">
65 <div class="container">
66 <div class="gravatar" id="quick_login_link">
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 </div>
68 </div>
69 %if c.rhodecode_user.username != 'default':
69 %if c.rhodecode_user.username != 'default' and c.unread_notifications != 0:
70 <div class="notifications">
70 <div class="notifications">
71 <a id="notification_counter" href="${h.url('notifications')}">${c.unread_notifications}</a>
71 <a id="notification_counter" href="${h.url('notifications')}">${c.unread_notifications}</a>
72 </div>
72 </div>
General Comments 0
You need to be logged in to leave comments. Login now