summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-02-14 21:39:45 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-15 17:37:46 +0100
commiteea62fc01ec6764d1df2ce2707bd9c03ff78c1dd (patch)
tree2940dd2bd92e03d59c98bd21f4e55a3588e922a5
parent34db77462dc90fb5fe37097435d42b18341a59e6 (diff)
downloadjenkins.debian.net-eea62fc01ec6764d1df2ce2707bd9c03ff78c1dd.tar.xz
reproducible: notes: add a counter also to /issues/ pages
-rwxr-xr-xbin/reproducible_html_notes.py3
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>'