]> git.ozlabs.org Git - patchwork/commitdiff
templates: Add link to the projects website in the projects view
authorSimo Sorce <idra@samba.org>
Fri, 26 Oct 2012 12:51:43 +0000 (12:51 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 15 Nov 2012 06:36:14 +0000 (14:36 +0800)
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>
templates/patchwork/projects.html

index aa6df82865bfb9d801e575ec6a61eaba4557c581..ad98bc344227728ba06e050eee5733a21230f843 100644 (file)
  {% for p in projects %}
   <dt>
    <a href="{% url patchwork.views.patch.list project_id=p.linkname %}"
  {% 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 %}
  {% endfor %}
  </dl>
 {% else %}