summaryrefslogtreecommitdiff
path: root/static/website/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/website/templates/base.html')
-rw-r--r--static/website/templates/base.html30
1 files changed, 18 insertions, 12 deletions
diff --git a/static/website/templates/base.html b/static/website/templates/base.html
index a2f2534..b174d69 100644
--- a/static/website/templates/base.html
+++ b/static/website/templates/base.html
@@ -56,27 +56,33 @@
</a>
</li>
{% if user.is_authenticated %}
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">
- <span class="glyphicon glyphicon-user"></span>
- {{ user }}<b class="caret"></b>
- </a>
- <ul class="dropdown-menu">
- <li><a href="{% url 'website:user_questions' user.id %}">My Questions</a></li>
- <li><a href="{% url 'website:user_answers' user.id %}">My Answers</a></li>
- <li>
+ <li>
<a href="{% url 'website:user_notifications' user.id %}">
Notifications
- <span class="badge" style="background:#a26dc8; color:#ffffff;">
+ <span class="badge" style="background:#ec0b16; color:#ffffff;">
{% load notify %}
{% notification_count user.id %}
</span>
</a>
- </li>
+ </li>
+
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">
+ <span class="glyphicon glyphicon-user"></span>
+ {{ user }}<b class="caret"></b>
+ </a>
+ <ul class="dropdown-menu">
+ <li><a href="{% url 'website:user_questions' user.id %}">My Questions
+
+ </a></li>
+ <li><a href="{% url 'website:user_answers' user.id %}">My Answers
+
+ </a></li>
+
<li class="divider"></li>
<li><a href="{% url 'user_logout' %}">Logout</a></li>
</ul>
- </li> <!-- /li.dropdown -->
+ </li>
{% else %}
<li>
<a href="{% url 'user_login' %}">