diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-02-14 21:39:45 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-15 17:37:46 +0100 |
commit | eea62fc01ec6764d1df2ce2707bd9c03ff78c1dd (patch) | |
tree | 2940dd2bd92e03d59c98bd21f4e55a3588e922a5 /bin | |
parent | 34db77462dc90fb5fe37097435d42b18341a59e6 (diff) | |
download | jenkins.debian.net-eea62fc01ec6764d1df2ce2707bd9c03ff78c1dd.tar.xz |
reproducible: notes: add a counter also to /issues/ pages
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_html_notes.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py index 6a130353..a96b2d3c 100755 --- a/bin/reproducible_html_notes.py +++ b/bin/reproducible_html_notes.py @@ -239,8 +239,9 @@ def gen_html_issue(issue): # add affected packages: affected = '' try: + affected += tab*4 + '<b>' + str(len(issues_count[issue])) + '</b>:\n' for pkg in sorted(issues_count[issue]): - affected += tab*6 + '<a href="%s/%s.html" class="noted">%s</a>\n' \ + affected += tab*7 + '<a href="%s/%s.html" class="noted">%s</a>\n' \ % (RB_PKG_URI, pkg, pkg) except KeyError: # The note is not listed in any package, that is affected = '<i>None</i>' |