diff options
-rw-r--r-- | templates/base.html | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/templates/base.html b/templates/base.html index 6a44b69..f5a065d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -68,16 +68,18 @@ {% endif %} <ul class="nav navbar-nav navbar-right"> {% if user.is_authenticated %} - <li> - <a href="{% url 'user-todos' %}"> - Todo - <span class="badge">{{ user.profile.n_todo_patches }}</span></a> - </li> <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown" - ><strong>{{ user.username }}</strong> <span - class="caret" /></a> + <a href="#" class="dropdown-toggle" data-toggle="dropdown"> + <span class="badge">{{ user.profile.n_todo_patches }}</span> + <strong>{{ user.username }}</strong> <span class="caret" /> + </a> <ul class="dropdown-menu" role="menu"> + <li> + <a href="{% url 'user-todos' %}"> + Reviews pending + <span class="badge">{{ user.profile.n_todo_patches }}</span> + </a> + </li> {% if user.is_staff %} <li><a href="{% url 'admin:index' %}">Administration</a></li> {% endif %} |