aboutsummaryrefslogtreecommitdiff
path: root/views/_alert_summary.haml
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-04-13 17:03:16 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-04-13 17:03:16 +0100
commit89a67770e66d11740948e90a41db6cee0482cf8e (patch)
treebe858515fb789a89d68f94975690ab019813726c /views/_alert_summary.haml
new version.
Diffstat (limited to 'views/_alert_summary.haml')
-rw-r--r--views/_alert_summary.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/views/_alert_summary.haml b/views/_alert_summary.haml
new file mode 100644
index 0000000..1798ec1
--- /dev/null
+++ b/views/_alert_summary.haml
@@ -0,0 +1,7 @@
+// See feature #1051: UI sorting order.
+.urgent= partial("alert_strips_group", :locals => {:alerts => @grouped_new_urgent})
+.normal= partial("alert_strips_group", :locals => {:alerts => @grouped_new_normal})
+.low= partial("alert_strips_group", :locals => {:alerts => @grouped_new_low})
+.urgent= partial("alert_strips_group", :locals => {:alerts => @grouped_ack_urgent})
+.normal= partial("alert_strips_group", :locals => {:alerts => @grouped_ack_normal})
+.low= partial("alert_strips_group", :locals => {:alerts => @grouped_ack_low})