]> git.ozlabs.org Git - patchwork/blobdiff - templates/patchwork/projects.html
templates: Add link to the projects website in the projects view
[patchwork] / 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 %}"
-    >{{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 %}