Commit a2423ddb authored by Chris Lamb's avatar Chris Lamb 💬 Committed by Holger Levsen
Browse files

b/reproducible_common.py: Make trailing bug icons HTML anchors.



Signed-off-by: Chris Lamb's avatarChris Lamb <lamby@debian.org>
parent 2117bd87
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment