Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
a2423ddb
Commit
a2423ddb
authored
Aug 29, 2015
by
Chris Lamb
💬
Committed by
Holger Levsen
Aug 29, 2015
Browse files
b/reproducible_common.py: Make trailing bug icons HTML anchors.
Signed-off-by:
Chris Lamb
<
lamby@debian.org
>
parent
2117bd87
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/reproducible_common.py
View file @
a2423ddb
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment