aboutsummaryrefslogtreecommitdiff
path: root/views/_alerts_table_alert_detail.haml
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-11-29 18:41:51 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-11-29 18:41:51 +0000
commit17120a9adf733185b5fc08cccf6644a09c995330 (patch)
tree457dd6374b78bcff072519faf0bb97b193a246b7 /views/_alerts_table_alert_detail.haml
parent5d05cc179c552f130b85dcc0cc5621ecefd47e75 (diff)
Added suppression information to views
Diffstat (limited to 'views/_alerts_table_alert_detail.haml')
-rw-r--r--views/_alerts_table_alert_detail.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/_alerts_table_alert_detail.haml b/views/_alerts_table_alert_detail.haml
index 3bb25c3..4768e94 100644
--- a/views/_alerts_table_alert_detail.haml
+++ b/views/_alerts_table_alert_detail.haml
@@ -7,6 +7,8 @@
%address
- if alert.raised? or alert.acknowledged?
Raised at #{(alert.raised_at || Time.now).to_s_human} &bull;
+ - if alert.suppressed?
+ Notifications suppressed until #{alert.suppress_until.to_s_human} &bull;
- if alert.acknowledged?
Ack'd at #{alert.acknowledged_at.to_s_human} by #{alert.acknowledged_by} &bull;
Source: #{alert.source} &bull;