aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-10-03 01:07:11 +0100
committerStephen Finucane <stephen.finucane@intel.com>2015-11-05 03:51:40 +0000
commitf78bfd3ad13b1e8c7f9b76630b0fa6210efdfa7c (patch)
treedc94e9e21578380382fb90d36551d741a51c65d2 /templates
parent85e4e4e9bc00044f18dc9ae3beb73229e77b9de0 (diff)
downloadpatchwork-f78bfd3ad13b1e8c7f9b76630b0fa6210efdfa7c.tar
patchwork-f78bfd3ad13b1e8c7f9b76630b0fa6210efdfa7c.tar.gz
base: Use a Bootstrap badge for the number of todo items
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html3
1 files changed, 2 insertions, 1 deletions
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>