[PATCH 32/46] base: Capitalize the menu items in the navbar

Damien Lespiau damien.lespiau at intel.com
Sun Nov 9 06:08:50 AEDT 2014


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 d2ac7b7..86a0ca9 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -45,29 +45,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.get_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>
-- 
1.8.3.1



More information about the Patchwork mailing list