summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-10-26 12:51:43 +0000
committerJeremy Kerr <jk@ozlabs.org>2012-11-15 14:36:14 +0800
commit984cb073d3f568ff8ad28c93d3be2b325b26f25d (patch)
tree2e4a2f91583bd597c2c3ce415ab48dea95a7770f
parentc30c03312041c24c39b6a986882aae6189096c2f (diff)
downloadpatchwork-984cb073d3f568ff8ad28c93d3be2b325b26f25d.tar.bz2
patchwork-984cb073d3f568ff8ad28c93d3be2b325b26f25d.tar.xz
templates: Add link to the projects website in the projects view
Allows the casual visitor to check out what all these projects actually are. Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r--templates/patchwork/projects.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/patchwork/projects.html b/templates/patchwork/projects.html
index aa6df82..ad98bc3 100644
--- a/templates/patchwork/projects.html
+++ b/templates/patchwork/projects.html
@@ -10,8 +10,13 @@
{% for p in projects %}
<dt>
<a href="{% url patchwork.views.patch.list project_id=p.linkname %}"
- >{{p.linkname}}</a></dt>
- <dd>{{p.name}}</dd>
+ >{{p.linkname}}</a>
+ </dt>
+ <dd>{{p.name}}
+{% if p.web_url %}
+ (<a href="{{p.web_url}}">website</a>)
+{% endif %}
+ </dd>
{% endfor %}
</dl>
{% else %}