diff mbox

[29/49] base: Use a Bootstrap badge for the number of todo items

Message ID 1443708774-26996-30-git-send-email-damien.lespiau@intel.com
State Accepted
Headers show

Commit Message

Damien Lespiau Oct. 1, 2015, 2:12 p.m. UTC
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Stephen Finucane <stephen.finucane@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 299b0a1..e5dfee8 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -46,7 +46,8 @@ 
 {% endif %}
 {% if user.is_authenticated %}
      <li><a href="{% url 'patchwork.views.user.todo_lists' %}">Todo
-      ({{ user.profile.n_todo_patches }})</a></li>
+      <span class="badge">{{ user.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>