]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
views: Link to project from bundle-list
authorStephen Finucane <stephen@that.guru>
Thu, 23 Mar 2017 13:25:01 +0000 (13:25 +0000)
committerStephen Finucane <stephen@that.guru>
Wed, 5 Apr 2017 10:11:00 +0000 (11:11 +0100)
Simple usability improvement.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/templates/patchwork/bundles.html

index 61a13ea4c4ef33f935e2717de31008f02a074cde..de76966c9c104b71285bbaae30d827a8e1c5db6e 100644 (file)
 {% for bundle in bundles %}
  <tr>
   <td><a href="{{ bundle.get_absolute_url }}">{{ bundle.name }}</a></td>
-  <td>{{ bundle.project.linkname }}</td>
+  <td>
+   <a href="{% url 'project-detail' project_id=bundle.project.linkname %}">
+    {{ bundle.project.linkname }}
+   </a>
+  </td>
   <td style="text-align: center;">
    {% if bundle.public %}
     <span class="glyphicon glyphicon-ok"></span>