From 31b7a5dcc326531fbfc07ade2420a12bf0e95de5 Mon Sep 17 00:00:00 2001 From: zhurong Date: Sun, 9 Jul 2017 18:05:22 +0800 Subject: [PATCH] Fixes Deployment History page incorrectly formatting status. Currently, the all Deployment History page always adds a red underline underneath every status table cell, even for those in a non-error/non-warning status. The red underline should only appear for error/warning status. This patch ensures that only error/warning status has the red underline. Change-Id: I606162174bd02da1851d03c303f6fd755ddf1563 Closes-Bug: #1703187 --- muranodashboard/environments/tables.py | 1 + 1 file changed, 1 insertion(+) diff --git a/muranodashboard/environments/tables.py b/muranodashboard/environments/tables.py index fa457e819..2e91e2bc3 100644 --- a/muranodashboard/environments/tables.py +++ b/muranodashboard/environments/tables.py @@ -747,6 +747,7 @@ class DeploymentHistoryTable(tables.DataTable): 'state', verbose_name=_('Status'), status=True, + status_choices=consts.DEPLOYMENT_STATUS_CHOICES, display_choices=consts.DEPLOYMENT_STATUS_DISPLAY_CHOICES) class Meta(object):