2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
7 <title>{% block title %}Patchwork{% endblock %} - Patchwork</title>
8 <link rel="stylesheet" type="text/css" href="{% static "css/style.css" %}"/>
9 <script type="text/javascript" src="{% static "js/common.js" %}"></script>
10 {% block headers %}{% endblock %}
14 <h1 style="float: left;">
16 href="{% url 'patchwork.views.projects' %}">Patchwork</a>
17 {% block heading %}{% endblock %}</h1>
19 {% if user.is_authenticated %}
21 <a href="{% url 'patchwork.views.user.profile' %}"
22 ><strong>{{ user.username }}</strong></a>
24 <a href="{% url 'patchwork.views.user.todo_lists' %}">todo
25 ({{ user.profile.n_todo_patches }})</a> ::
26 <a href="{% url 'patchwork.views.bundle.bundles' %}">bundles</a>
28 <a href="{% url 'patchwork.views.user.profile' %}">profile</a> ::
29 {% if user.is_staff %}
30 <a href="{% url 'admin:index' %}">admin</a> ::
32 <a href="{% url 'auth_logout' %}">logout</a>
34 <a href="{% url 'auth_login' %}">login</a>
36 <a href="{% url 'patchwork.views.user.register' %}">register</a>
38 <a href="{% url 'patchwork.views.mail.settings' %}">mail settings</a>
41 <div style="clear: both;"></div>
46 <strong>Project</strong>: {{ project.linkname }}
48 <a href="{% url 'patchwork.views.patch.list' project_id=project.linkname %}"
51 <a href="{% url 'patchwork.views.project.project' project_id=project.linkname %}"
53 {% if other_projects %}
55 <a href="{% url 'patchwork.views.projects' %}"
59 <a href="{% url 'patchwork.views.projects' %}"
64 <a href="{% url 'patchwork.views.help' path="about/" %}">about</a>
66 <div style="clear: both"></div>
70 {% for message in messages %}
71 <div class="message">{{ message }}</div>
80 <a href="http://jk.ozlabs.org/projects/patchwork/">patchwork</a>