3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml">
7 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
8 <title>{% block title %}Patchwork{% endblock %} - Patchwork</title>
9 <link rel="stylesheet" type="text/css" href="{% static "css/style.css" %}"/>
10 <script type="text/javascript" src="{% static "js/common.js" %}"></script>
11 {% block headers %}{% endblock %}
15 <h1 style="float: left;">
17 href="{% url 'patchwork.views.projects' %}">Patchwork</a>
18 {% block heading %}{% endblock %}</h1>
20 {% if user.is_authenticated %}
22 <a href="{% url 'patchwork.views.user.profile' %}"
23 ><strong>{{ user.username }}</strong></a>
25 <a href="{% url 'patchwork.views.user.todo_lists' %}">todo
26 ({{ user.profile.n_todo_patches }})</a> ::
27 <a href="{% url 'patchwork.views.bundle.bundles' %}">bundles</a>
29 <a href="{% url 'patchwork.views.user.profile' %}">profile</a> ::
30 {% if user.is_staff %}
31 <a href="{% url 'admin:index' %}">admin</a> ::
33 <a href="{% url 'auth_logout' %}">logout</a>
35 <a href="{% url 'auth_login' %}">login</a>
37 <a href="{% url 'patchwork.views.user.register' %}">register</a>
39 <a href="{% url 'patchwork.views.mail.settings' %}">mail settings</a>
42 <div style="clear: both;"></div>
47 <strong>Project</strong>: {{ project.linkname }}
49 <a href="{% url 'patchwork.views.patch.list' project_id=project.linkname %}"
52 <a href="{% url 'patchwork.views.project.project' project_id=project.linkname %}"
54 {% if other_projects %}
56 <a href="{% url 'patchwork.views.projects' %}"
60 <a href="{% url 'patchwork.views.projects' %}"
65 <a href="{% url 'patchwork.views.help' path="about/" %}">about</a>
67 <div style="clear: both"></div>
71 {% for message in messages %}
72 <div class="message">{{ message }}</div>
81 <a href="http://jk.ozlabs.org/projects/patchwork/">patchwork</a>