From 13c75e73812927359ca8a1d606ed33bd6a75eea5 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Wed, 15 Jun 2011 21:12:26 +0100 Subject: Rejigged column names.. and javascript location. --HG-- rename : static/mauve_utils.js => static/javascript/mauve_utils.js --- views/_alerts_table_group.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/_alerts_table_group.haml') diff --git a/views/_alerts_table_group.haml b/views/_alerts_table_group.haml index f3af4b2..8bc73b4 100644 --- a/views/_alerts_table_group.haml +++ b/views/_alerts_table_group.haml @@ -2,7 +2,7 @@ - group, alerts = alerts_table_group unless alerts_table_group.nil? - hilight = cycle(nil,"hilight") - row_class = [ hilight, alerts.first.raised? && "triggered", alerts.first.acknowledged? && "acknowledged", alerts.first.level] -=partial("alerts_table_alert_summary", :locals => {:alert => alerts.first, :row_class => row_class }) +=partial("alerts_table_alert_summary", :locals => {:alert => alerts.pop, :row_class => row_class }) - if alerts.length > 1 %tr{ :class => [ hilight, alerts.first.raised? && "triggered", alerts.first.acknowledged? && "acknowledged"]} %td   -- cgit v1.2.1