Commit 978434e3 authored by Arkadiusz Hiler's avatar Arkadiusz Hiler Committed by Damien Lespiau
Browse files

templates/patch: Link back to the series

It's hard to find the series corresponding to the patch when you have
only the patch URL - you have to go through the author or through the
project and try to find an association with the series name.

Series view is also where the results from CI are shown, so this is the
drill for many people doing the reviews.

Since this is a common issue, let's link the series from the patch page.
Signed-off-by: default avatarArkadiusz Hiler <>
parent 8dc52294
......@@ -42,6 +42,12 @@ function toggle_headers(link_id, headers_id)
<td>{{ }}{% if patch.archived %}, archived{% endif %}</td>
{% if series %}
<td><a href="{% url 'series' %}"/>"{{ series }}"</a></td>
{% endif %}
{% if patch.commit_ref %}
......@@ -81,6 +81,7 @@ def patch(request, patch_id):
context.add_message('Patch updated')
context['patch'] = patch
context['series'] = patch.series()
context['patchform'] = form
context['createbundleform'] = createbundleform
context['project'] = patch.project
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment