]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
base: Use a Bootstrap badge for the number of todo items
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 3 Oct 2014 00:07:11 +0000 (01:07 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 5 Nov 2015 03:51:40 +0000 (03:51 +0000)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Stephen Finucane <stephen.finucane@intel.com>
templates/base.html

index 299b0a1289e010fe84eb244f3e10a3efa6ef10b2..e5dfee88a82724e4461fd8607afd3a1b56dfeb14 100644 (file)
@@ -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>