]> git.ozlabs.org Git - patchwork/blob - templates/patchwork/projects.html
templates: Add link to the projects website in the projects view
[patchwork] / templates / patchwork / projects.html
1 {% extends "base.html" %}
2
3 {% block title %}Project List{% endblock %}
4 {% block heading %}Project List{% endblock %}
5
6 {% block body %}
7
8 {% if projects %}
9  <dl>
10  {% for p in projects %}
11   <dt>
12    <a href="{% url patchwork.views.patch.list project_id=p.linkname %}"
13     >{{p.linkname}}</a>
14   </dt>
15   <dd>{{p.name}}
16 {% if p.web_url %}
17    (<a href="{{p.web_url}}">website</a>)
18 {% endif %}
19   </dd>
20  {% endfor %}
21  </dl>
22 {% else %}
23  <p>Patchwork doesn't have any projects to display!</p>
24 {% endif %}
25
26 {% endblock %}