summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-19 01:28:40 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-19 01:28:40 +0100
commite1cdcbf6e72561a6c8880c6819bd1ace2261aa94 (patch)
tree30b0221819117ab62ff72b7a1e13a2624e5b8291
parentaf3f7216b0570bee3fea051124dd8c76458070aa (diff)
downloadjenkins.debian.net-e1cdcbf6e72561a6c8880c6819bd1ace2261aa94.tar.xz
reproducible: turn icons for other suites into links too
-rwxr-xr-xbin/reproducible_html_packages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index 9f4d2c79..61430f8a 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -170,8 +170,8 @@ def gen_suites_links(package, suite):
continue
status = 'untested' if not i[3] else i[3]
html += '<span class="avoidwrap">\n' + tab
- icon = '<img src="/static/{icon}" alt="{status}" title="{status}"/>\n'
- html += icon.format(icon=join_status_icon(status)[1], status=status)
+ icon = '<a href="/{suite}/{arch}/index_{status}.html"><img src="/static/{icon}" alt="{status}" title="{status}"/></a>\n'
+ html += icon.format(icon=join_status_icon(status)[1], status=status, suite=i[0], arch=i[1])
html += tab + '<a href="' + RB_PKG_URI + '/' + i[0] + '/' + i[1] + \
'/' + str(package) + '.html" target="_parent">' + i[0] + \
':' + i[2] + '</a>\n'