Browse Source

Tweaked navbar some

Rafał Pitoń 10 years ago
parent
commit
6a87fd7a00

+ 2 - 1
misago/static/misago/css/misago/dropdowns.less

@@ -147,8 +147,9 @@
     .dropdown-footer {
       background-color: @dropdown-title-bg;
       border-top: 1px solid @dropdown-title-border;
+      .box-shadow(0px -3px 3px -1px darken(@dropdown-title-bg, 5%));
       border-radius: 0px 0px @border-radius-base @border-radius-base;
-      margin-bottom: 0px;
+      margin-bottom: -5px;
       padding: @padding-base-vertical @padding-base-horizontal;
 
       color: @dropdown-title-color;

+ 5 - 3
misago/templates/misago/user_nav.html

@@ -20,10 +20,12 @@
         </a>
       </li>
       <li>
-        <a href="#">
+        <a href="{% url 'misago:notifications' %}">
+          {% if user.new_notifications %}
           <span class="badge pull-right">42</span>
-          <span class="fa fa-plane"></span>
-          Another action
+          {% endif %}
+          <span class="fa fa-bell-o"></span>
+          {% trans "See all notifications" %}
         </a>
       </li>
       <li class="divider"></li>