aboutsummaryrefslogtreecommitdiff
path: root/views/_alerts_table_group.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/_alerts_table_group.haml')
-rw-r--r--views/_alerts_table_group.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/_alerts_table_group.haml b/views/_alerts_table_group.haml
index 6507377..8e9d5b7 100644
--- a/views/_alerts_table_group.haml
+++ b/views/_alerts_table_group.haml
@@ -1,10 +1,10 @@
-# Sanity checking.
- group, alerts = alerts_table_group unless alerts_table_group.nil?
- if alerts.length <= 2
- =partial("alerts_table_alert_summary", :collection => alerts)
+ =partial("search_table_row", :collection => alerts)
- else
- =partial("alerts_table_alert_summary", :collection => [alerts.first])
- =partial("alerts_table_alert_summary", :collection => alerts[1..-1], :locals => {:row_class => ["hidden"]})
+ =partial("search_table_row", :collection => [alerts.first])
+ =partial("search_table_row", :collection => alerts[1..-1], :locals => {:row_class => ["hidden"]})
%tr{:id => ["tr","group",group]}
%td &nbsp;
%td{:colspan => 2}