summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_packages.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-03 19:01:32 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-03 19:01:32 +0200
commitc04901a85553f092fd9302e1abd6c1023883bd50 (patch)
tree4433188642b63cc462e5c0baffcc42ceb56edf3a /bin/reproducible_html_packages.py
parentac03dd6a57b412952b131796a786bf990e436650 (diff)
downloadjenkins.debian.net-c04901a85553f092fd9302e1abd6c1023883bd50.tar.xz
reproducible: add link to suite page in the navigationm of each pkg page
Diffstat (limited to 'bin/reproducible_html_packages.py')
-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 83f02256..6d5c5d69 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -199,8 +199,8 @@ def gen_suites_links(package, current_suite, current_arch):
icon = prefix + '<img src="/static/{icon}" alt="{status}" title="{status}"/>' + suffix
html += icon.format(icon=join_status_icon(status)[1], status=status)
html += (tab*2 + ' <a href="{}/{}/{}/{}.html" target="_parent"' + \
- ' title="{}: {}{}">{}</a>: {}\n').format(RB_PKG_URI,
- s, a, package.name, status, version, build_date, s, version)
+ ' title="{}: {}{}">{}</a> in <a href="/{}/{}/" target="_parent">{}</a>\n').format(RB_PKG_URI,
+ s, a, package.name, status, version, build_date, version, s, a, s)
html += '</li>\n'
html += tab + '</ul></li>'
html += '</ul>\n'