summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2015-08-29 09:37:14 +0100
committerHolger Levsen <holger@layer-acht.org>2015-08-29 11:11:25 +0200
commita2423ddb3fcbf39544169a0e27300babfa29c903 (patch)
treebbde33e20a9b557d08e89a5550cf7b5e5d89c26a
parent2117bd876b1bdf5fc1762fcc593e42bf16093ed8 (diff)
downloadjenkins.debian.net-a2423ddb3fcbf39544169a0e27300babfa29c903.tar.xz
b/reproducible_common.py: Make trailing bug icons HTML anchors.
Signed-off-by: Chris Lamb <lamby@debian.org>
-rwxr-xr-xbin/reproducible_common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index d03e215a..b4d56223 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -552,6 +552,7 @@ def get_trailing_icon(package, bugs):
html = ''
if package in bugs:
for bug in bugs[package]:
+ html += '<a href="https://bugs.debian.org/{bug}">'.format(bug=bug)
html += '<span class="'
if bugs[package][bug]['done']:
html += 'bug-done" title="#' + str(bug) + ', done">#</span>'
@@ -561,6 +562,7 @@ def get_trailing_icon(package, bugs):
html += 'bug-patch" title="#' + str(bug) + ', with patch">+</span>'
else:
html += 'bug" title="#' + str(bug) + '">#</span>'
+ html += '</a>'
return html