[PATCH 29/51] base: Capitalize the menu items in the navbar
Damien Lespiau
damien.lespiau at intel.com
Tue Aug 25 04:23:18 AEST 2015
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
templates/base.html | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/templates/base.html b/templates/base.html
index fd27e04..3299193 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -42,29 +42,29 @@
<ul class="nav navbar-nav navbar-right">
{% if project %}
<li><a href="{% url 'patchwork.views.project.project' project_id=project.linkname %}"
- >about {{ project.linkname }}</a></li>
+ >About {{ project.linkname }}</a></li>
<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