[PATCH 28/49] base: Capitalize the menu items in the navbar
Damien Lespiau
damien.lespiau at intel.com
Fri Oct 2 00:12:33 AEST 2015
v2: Rebase on top of the "Project Info" renaming
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
templates/base.html | 16 ++++++++--------
1 file 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> <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>
--
2.1.0
More information about the Patchwork
mailing list