From 8dc3b6a275ec89a6adb7a8ca8706084437864d11 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 5 Mar 2015 15:51:55 +0100 Subject: reproducible: fix link title to current suite if suite != sid, also unify link target name --- bin/reproducible_common.py | 3 +-- bin/reproducible_common.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'bin') 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("""
  • all tested packages (sorted alphabetically)
  • maintainers of unreproducible packages
  • package sets stats
  • -
  • sid stats
  • $suite_links
  • repositories overview
  • reproducible stats
  • @@ -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 = '
  • suite: ' + suite + '
  • ' for i in SUITES: if i != suite: suite_links += '
  • suite: ' + i + '
  • ' diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 943530ba..a54b2ee6 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -88,7 +88,7 @@ init_html() { SPOKENTARGET["all_abc"]="all tested packages (sorted alphabetically)" SPOKENTARGET["dd-list"]="maintainers of unreproducible packages" SPOKENTARGET["pkg_sets"]="package sets stats" - SPOKENTARGET["suite_stats"]="$SUITE stats" + SPOKENTARGET["suite_stats"]="suite: $SUITE" SPOKENTARGET["repo_stats"]="repositories overview" SPOKENTARGET["stats"]="reproducible stats" # FIXME: this can probably all go into html_graph.sh now...: query some data we need everywhere -- cgit v1.2.3-70-g09d2