diff mbox

[30/51] base: Use a Bootstrap badge for the number of todo items

Message ID 1440440620-25937-31-git-send-email-damien.lespiau@intel.com
State Changes Requested
Headers show

Commit Message

Damien Lespiau Aug. 24, 2015, 6:23 p.m. UTC
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 templates/base.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Stephen Finucane Sept. 9, 2015, 3:22 p.m. UTC | #1
> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>


Acked-by: Stephen Finucane <stephen.finucane@intel.com>
diff mbox

Patch

diff --git a/templates/base.html b/templates/base.html
index 3299193..a5a16b1 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -47,7 +47,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>