diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2014-10-03 01:07:11 +0100 |
---|---|---|
committer | Stephen Finucane <stephen.finucane@intel.com> | 2015-11-05 03:51:40 +0000 |
commit | f78bfd3ad13b1e8c7f9b76630b0fa6210efdfa7c (patch) | |
tree | dc94e9e21578380382fb90d36551d741a51c65d2 /templates | |
parent | 85e4e4e9bc00044f18dc9ae3beb73229e77b9de0 (diff) | |
download | patchwork-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.html | 3 |
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> |