From 13121ed48bae453ca7cbc7023655c06b0094c347 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 5 Mar 2015 18:51:09 +0100 Subject: reproducible: only link to pkg sets if suite != experimental --- bin/reproducible_common.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py index 5bbcab1d..f6c75b61 100755 --- a/bin/reproducible_common.py +++ b/bin/reproducible_common.py @@ -156,7 +156,7 @@ html_head_page = Template((tab*2).join("""
  • packages tested in the last 48h
  • all tested packages (sorted alphabetically)
  • maintainers of unreproducible packages
  • -
  • package sets stats
  • +$pkgset_link $suite_links
  • repositories overview
  • reproducible stats
  • @@ -192,8 +192,12 @@ def write_html_page(title, body, destfile, suite=None, noheader=False, style_not html = '' html += html_header.substitute(page_title=title) if not noheader: + pkgset_link = '' if suite: suite_links = '
  • suite: ' + suite + '
  • ' + if suite != 'experimental': + pkgset_link = '
  • package sets stats
  • ' + else: suite_links = '' for i in SUITES: @@ -201,6 +205,7 @@ def write_html_page(title, body, destfile, suite=None, noheader=False, style_not suite_links += '
  • suite: ' + i + '
  • ' html += html_head_page.substitute( page_title=title, + pkgset_link=pkgset_link, suite_links=suite_links) html += body if style_note: -- cgit v1.2.3-54-g00ecf