summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-10-03 01:03:46 +0100
committerStephen Finucane <stephen.finucane@intel.com>2015-11-05 03:51:40 +0000
commit85e4e4e9bc00044f18dc9ae3beb73229e77b9de0 (patch)
treee7c3c0dbf8519bedeb6796a4034f163d8f2dd4c6 /templates
parent9b9cd68bcfffae3a5ff9db78572af0caa530d4a5 (diff)
downloadpatchwork-85e4e4e9bc00044f18dc9ae3beb73229e77b9de0.tar
patchwork-85e4e4e9bc00044f18dc9ae3beb73229e77b9de0.tar.gz
base: Capitalize the menu items in the navbar
v2: Rebase on top of the "Project Info" renaming Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/base.html b/templates/base.html
index 5e82ede..299b0a1 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -45,25 +45,25 @@
<li><p class="navbar-text">|</p></li>
{% endif %}
{% if user.is_authenticated %}
- <li><a href="{% url 'patchwork.views.user.todo_lists' %}">todo
+ <li><a href="{% url 'patchwork.views.user.todo_lists' %}">Todo
({{ user.profile.n_todo_patches }})</a></li>
- <li><a href="{% url 'patchwork.views.bundle.bundles' %}">bundles</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>
+ <li><a href="{% url 'admin:index' %}">Admin</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"
><strong>{{ user.username }}</strong>&nbsp;<span
class="caret" /></a>
<ul class="dropdown-menu" role="menu">
- <li><a href="{% url 'patchwork.views.user.profile' %}">view profile</a></li>
- <li><a href="{% url 'auth_logout' %}">logout</a></li>
+ <li><a href="{% url 'patchwork.views.user.profile' %}">View profile</a></li>
+ <li><a href="{% url 'auth_logout' %}">Logout</a></li>
</ul>
</li>
{% endif %}
{% else %}
- <li><a href="{% url 'auth_login' %}">login</a></li>
- <li><a href="{% url 'patchwork.views.user.register' %}">register</a></li>
- <li><a href="{% url 'patchwork.views.mail.settings' %}">mail settings</a></li>
+ <li><a href="{% url 'auth_login' %}">Login</a></li>
+ <li><a href="{% url 'patchwork.views.user.register' %}">Register</a></li>
+ <li><a href="{% url 'patchwork.views.mail.settings' %}">Mail settings</a></li>
{% endif %}
</div>
</div>