aboutsummaryrefslogtreecommitdiff
path: root/views/_alerts_table_alert_summary.haml
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-11-30 13:17:55 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-11-30 13:17:55 +0000
commit1459686965ca91ce7ac5af1b4d1ab3da829685c5 (patch)
tree56f960bc92bc8a3e26e48ee070d2287be7218609 /views/_alerts_table_alert_summary.haml
parent5a099132ff0fffceda0eec2921a513b10070beb7 (diff)
Adjusted CSS not to colour non-raised alerts in tables.
Diffstat (limited to 'views/_alerts_table_alert_summary.haml')
-rw-r--r--views/_alerts_table_alert_summary.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/_alerts_table_alert_summary.haml b/views/_alerts_table_alert_summary.haml
index 4159cf7..58e3eea 100644
--- a/views/_alerts_table_alert_summary.haml
+++ b/views/_alerts_table_alert_summary.haml
@@ -1,5 +1,5 @@
- alert = alerts_table_alert_summary if defined? alerts_table_alert_summary
-- row_class = (row_class || []) + [ cycle(nil, "hilight"), alert.raised? && "triggered", alert.acknowledged? && "acknowledged", alert.level]
+- row_class = (row_class || []) + [ cycle(nil, "hilight"), alert.raised? && "raised", alert.acknowledged? && "acknowledged", alert.level]
%tr{ :class => row_class, :id => ["tr", "summary", alert.id] }
%td
%input{ :type => "checkbox", :id => "alerts[#{alert.id}]", :name => "alerts[#{alert.id}]", :class => 'alert' }