diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-05-02 15:24:22 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-05-02 15:24:22 +0100 |
commit | 2e0b89b33d4c9944440bba49e6926a51b46d02c3 (patch) | |
tree | 2a28075d9b7459b469afb1988572cb61f4221881 /views/alerts.haml | |
parent | e55096b063720e0be4ca8d774095d2f6dfb7c086 (diff) | |
parent | c697cea61321a8b292b4e353afc9dbff8a552b94 (diff) |
merge
Diffstat (limited to 'views/alerts.haml')
-rw-r--r-- | views/alerts.haml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/views/alerts.haml b/views/alerts.haml index 896b5a3..88cb82c 100644 --- a/views/alerts.haml +++ b/views/alerts.haml @@ -1,11 +1,7 @@ -- if @grouped_alerts.length > 0 - %form#alerts{:method => :post, :action => '/alerts/acknowledge'} - = partial('alerts_table') - %h2 Actions - %p= partial('acknowledge_input') -- else - .notice#alerts_table - %p No alerts to display. +%form#alerts{:method => :post, :action => '/alerts/acknowledge'} + = partial('alerts_table') + %h2 Actions + %p= partial('acknowledge_input') :javascript // Do the magic updates.. setTimeout("updateAlertsTable('#{@alert_type}','#{@group_by}');", 120000) |