[PATCH 3/3] views: Link to project from bundle-list

Stephen Finucane stephen at that.guru
Fri Mar 24 00:25:01 AEDT 2017


Simple usability improvement.

Signed-off-by: Stephen Finucane <stephen at that.guru>
Cc: Daniel Axtens <dja at axtens.net>
---
 patchwork/templates/patchwork/bundles.html | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/patchwork/templates/patchwork/bundles.html b/patchwork/templates/patchwork/bundles.html
index 61a13ea..de76966 100644
--- a/patchwork/templates/patchwork/bundles.html
+++ b/patchwork/templates/patchwork/bundles.html
@@ -21,7 +21,11 @@
 {% 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>
-- 
2.9.3



More information about the Patchwork mailing list