diff mbox

[33/46] base: Use a Bootstrap badge for the number of todo items

Message ID 1415473744-31531-34-git-send-email-damien.lespiau@intel.com
State Superseded
Headers show

Commit Message

Damien Lespiau Nov. 8, 2014, 7:08 p.m. UTC
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 templates/base.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/templates/base.html b/templates/base.html
index 86a0ca9..0d463d9 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -50,7 +50,8 @@ 
 {% endif %}
 {% if user.is_authenticated %}
      <li><a href="{% url 'patchwork.views.user.todo_lists' %}">Todo
-      ({{ user.get_profile.n_todo_patches }})</a></li>
+      <span class="badge">{{ user.get_profile.n_todo_patches }}</span></a>
+     </li>
      <li><a href="{% url 'patchwork.views.bundle.bundles' %}">Bundles</a></li>
 {% if user.is_staff %}
      <li><a href="{% url 'admin:index' %}">Admin</a></li>