Permalink
Browse files

update the label colour for testing on table lists

previously, when displaying a list of updates in a table,
the if the request field was "testing", we used the bootstrap
class for success (blue) as the colour for the label. However,
elsewhere in bodhi when showing the testing label, we used the
yellow. This changes the colour of the label to the yellow on
table list views of updates.
  • Loading branch information...
Ryan Lerch authored and bowlofeggs committed Apr 5, 2017
1 parent c7426c9 commit 623306442883d2fcaa82e6292e9b2c936e8974da
Showing with 2 additions and 2 deletions.
  1. +2 −2 bodhi/server/util.py
View
@@ -468,8 +468,8 @@ def request2html(context, request):
request = unicode(request)
cls = {
'unpush': 'danger',
'obsolete': 'warning',
'testing': 'primary',
'obsolete': 'default',
'testing': 'warning',
'stable': 'success',
}.get(request)

0 comments on commit 6233064

Please sign in to comment.