[PATCH] changelog: link back to build collection


Alexandre Belloni
 

While looking at the changelog, it is useful to be able to go back to the
build collection editing, for example to be able to correct a note.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
swatapp/templates/swatapp/changelog.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swatapp/templates/swatapp/changelog.html b/swatapp/templates/swatapp/changelog.html
index 6f15196c16dd..f28abaefe187 100644
--- a/swatapp/templates/swatapp/changelog.html
+++ b/swatapp/templates/swatapp/changelog.html
@@ -5,7 +5,7 @@
{% if changes %}
<ul>
{% for change in changes %}
- <li>{{ change.user.username }} changed {{ change.failure.build.targetname }}:{{ change.failure.stepname }} {{ change.failure.build.buildid }}:{{ change.failure.id }} from {{ change.get_oldstatus_display }} to {{ change.get_newstatus_display }} on {{ change.timestamp }}: {{ change.newnote }}</li>
+ <li>{{ change.user.username }} changed {{ change.failure.build.targetname }}:{{ change.failure.stepname }} <a href="/collection/{{ change.failure.build.buildcollection.id }}/">{{ change.failure.build.buildid }}:{{ change.failure.id }}</a> from {{ change.get_oldstatus_display }} to {{ change.get_newstatus_display }} on {{ change.timestamp }}: {{ change.newnote }}</li>
{% endfor %}
</ul>

--
2.29.2

Join swat@lists.yoctoproject.org to automatically receive all group messages.