]> git.ozlabs.org Git - patchwork/blobdiff - templates/base.html
[css] Separate patchforms from list a little
[patchwork] / templates / base.html
index df668aa27fed5f7522b5a7832fd1740a6680fc7a..048d0523b8f34846298b4815808d85dbb3db34db 100644 (file)
     <a href="{% url patchwork.views.user.profile %}"
      ><strong>{{ user.username }}</strong></a>
     <br/>
-     <a href="{% url patchwork.views.user.profile %}">profile</a> ::
      <a href="{% url patchwork.views.user.todo_lists %}">todo
-      ({{ user.get_profile.n_todo_patches }})</a><br/>
-     <a href="{% url auth_logout %}">logout</a><!-- ::
-     <a href="/help/">help</a> -->
+      ({{ user.get_profile.n_todo_patches }})</a> ::
+     <a href="{% url patchwork.views.bundle.bundles %}">bundles</a>
+     <br/>
+     <a href="{% url patchwork.views.user.profile %}">profile</a> ::
+     <a href="{% url auth_logout %}">logout</a>
 {% else %}
      <a href="{% url auth_login %}">login</a>
      <br/>
      <a href="{% url registration_register %}">register</a>
-     <!--
      <br/>
-     <a href="/help/">help</a>
-     -->
+     <a href="{% url patchwork.views.help path="about/" %}">about</a>
 {% endif %}
    </div>
    <div style="clear: both;"></div>
   </div>
   <div id="nav">
-  {% if project %}
-   <strong>Project</strong>: {{ project.linkname }}
-    :
-    <a href="{% url patchwork.views.patch.list project_id=project.linkname %}"
-     >patches</a>
-    :
-    <a href="{% url patchwork.views.project project_id=project.linkname %}"
-     >project info</a>
-   {% if other_projects %}
-    :
-    <a href="{% url patchwork.views.projects %}"
-    >other projects</a>
+   <div id="navleft">
+   {% if project %}
+    <strong>Project</strong>: {{ project.linkname }}
+     :
+     <a href="{% url patchwork.views.patch.list project_id=project.linkname %}"
+      >patches</a>
+     :
+     <a href="{% url patchwork.views.project project_id=project.linkname %}"
+      >project info</a>
+    {% if other_projects %}
+     :
+     <a href="{% url patchwork.views.projects %}"
+     >other projects</a>
+     {% endif %}
+    {% else %}
+     <a href="{% url patchwork.views.projects %}"
+     >project list</a>
     {% endif %}
-   {% else %}
-    <a href="{% url patchwork.views.projects %}"
-    >project list</a>
-   {% endif %}
+   </div>
+   <div id="navright">
+    <a href="{% url patchwork.views.help path="about/" %}">about</a>
+   </div>
+   <div style="clear: both"></div>
   </div>
 {% if messages %}
   <div id="messages">