diff mbox

[2/3] Add link to the projects website in the projects view

Message ID 1351291904-16251-3-git-send-email-idra@samba.org
State Accepted
Headers show

Commit Message

Simo Sorce Oct. 26, 2012, 10:51 p.m. UTC
Allows the casual visitor to check out what all these projects
actually are.

Signed-off-by: Simo Sorce <idra@samba.org>
---
 templates/patchwork/projects.html | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/templates/patchwork/projects.html b/templates/patchwork/projects.html
index aa6df82865bfb9d801e575ec6a61eaba4557c581..f871e69a1ba25134ecd0e71de19c943a830c0e2a 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.website %}
+   (<a href="{{p.website}}">website</a>)
+{% endif %}
+  </dd>
  {% endfor %}
  </dl>
 {% else %}