summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-05 15:51:55 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-05 15:51:55 +0100
commit8dc3b6a275ec89a6adb7a8ca8706084437864d11 (patch)
tree4b973342d424f5777158f2dccf8c5d31433c2c33 /bin/reproducible_common.py
parent3bd0650d1480e148d22fc9ab119124ed3f193b0f (diff)
downloadjenkins.debian.net-8dc3b6a275ec89a6adb7a8ca8706084437864d11.tar.xz
reproducible: fix link title to current suite if suite != sid, also unify link target name
Diffstat (limited to 'bin/reproducible_common.py')
-rwxr-xr-xbin/reproducible_common.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 7e118f0a..34942fd3 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -157,7 +157,6 @@ html_head_page = Template((tab*2).join("""
<li><a href="index_all_abc.html">all tested packages (sorted alphabetically)</a></li>
<li><a href="index_dd-list.html">maintainers of unreproducible packages</a></li>
<li><a href="index_pkg_sets.html">package sets stats</a></li>
- <li><a href="index_suite_stats.html">sid stats</a></li>
$suite_links
<li><a href="/index_repo_stats.html">repositories overview</a></li>
<li><a href="/reproducible.html">reproducible stats</a></li>
@@ -193,7 +192,7 @@ def write_html_page(title, body, destfile, suite=None, noheader=False, style_not
html = ''
html += html_header.substitute(page_title=title)
if not noheader:
- suite_links = ""
+ suite_links = '<li><a href="/' + suite +'">suite: ' + suite + '</a></li>'
for i in SUITES:
if i != suite:
suite_links += '<li><a href="/' + i +'">suite: ' + i + '</a></li>'