changeset 3297:a66198aa9e84 beta

make unread also a link, constantly was clicking that - make the links and hover same as other links in that menu
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 01 Feb 2013 01:16:45 +0100
parents 6893b65d9760
children b38230cf8710
files rhodecode/public/css/style.css rhodecode/templates/base/base.html
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/public/css/style.css	Fri Feb 01 01:02:58 2013 +0100
+++ b/rhodecode/public/css/style.css	Fri Feb 01 01:16:45 2013 +0100
@@ -2133,8 +2133,15 @@
     color: #FFFFFF;
     font-weight: bold;
 }
-#quick_login .notifications a {
+#quick_login .notifications a,
+#quick_login .unread a {
     color: #FFFFFF;
+    display: block;
+    padding: 2px;    
+}
+#quick_login .notifications a:hover,
+#quick_login .unread a:hover {
+    background-color: inherit !important;
 }
 #quick_login .email, #quick_login .unread {
     color: #FFFFFF;
--- a/rhodecode/templates/base/base.html	Fri Feb 01 01:02:58 2013 +0100
+++ b/rhodecode/templates/base/base.html	Fri Feb 01 01:16:45 2013 +0100
@@ -122,7 +122,7 @@
                 <div class="email">${c.rhodecode_user.email}</div>
                 <div class="big_gravatar"><img alt="gravatar" src="${h.gravatar_url(c.rhodecode_user.email,48)}" /></div>
                 <div class="notifications"><a href="${h.url('notifications')}">${_('Notifications')}</a></div>
-                <div class="unread">${_('Unread')}: ${c.unread_notifications}</div>
+                <div class="unread"><a href="${h.url('notifications')}">${_('Unread')}: ${c.unread_notifications}</a></div>
             </div>
             <div class="links_right">
             <ol class="links">