[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: fixup status icons in navigation
Holger Levsen
holger at moszumanska.debian.org
Sat Oct 3 22:56:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit b179bf2a746856c91fb2e744daa4fbbf85986706
Author: Holger Levsen <holger at layer-acht.org>
Date: Sun Oct 4 00:41:04 2015 +0200
reproducible: fixup status icons in navigation
---
bin/reproducible_html_packages.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index b02d9f1..a693227 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -199,8 +199,7 @@ def gen_suites_links(package, current_suite, current_arch):
prefix = ''
suffix = '\n'
icon = prefix + '<img src="/static/{icon}" alt="{status}" title="{status}"/>' + suffix
- status, icon = join_status_icon(status, package, version)
- html += icon.format(icon=icon, status=status)
+ html += icon.format(icon=join_status_icon(status)[1], status=status)
html += (tab*2 + ' <a href="{}/{}/{}/{}.html" target="_parent"' + \
' 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)
@@ -239,7 +238,7 @@ def gen_packages_html(packages, no_clean=False):
links, default_view = gen_extra_links(
pkg, version, suite, arch, status)
suites_links = gen_suites_links(package, suite, arch)
- status, icon = join_status_icon(status, package, version)
+ status, icon = join_status_icon(status, pkg, version)
status = gen_status_link_icon(status, icon, suite, arch)
html = html_package_page.substitute(
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list