Skip to content
Browse files

Add CSS class to updates of type 'unspecified'.

Without an appropriate CSS class, the update type would be rendered white
on white background.

Signed-off-by: Nils Philippsen <>
  • Loading branch information...
nphilipp authored and mergify committed May 28, 2019
1 parent fc32335 commit 70ba6b0b0479f59c3bcf3e834e0f39cb74e615e4
Showing with 1 addition and 0 deletions.
  1. +1 −0 bodhi/server/
@@ -728,6 +728,7 @@ def type2html(context, kind):
'bugfix': 'warning',
'newpackage': 'primary',
'enhancement': 'success',
'unspecified': 'default',

return "<span class='label label-%s'>%s</span>" % (cls, kind)

0 comments on commit 70ba6b0

Please sign in to comment.
You can’t perform that action at this time.