aboutsummaryrefslogtreecommitdiff
path: root/views/_alerts_table_alert_detail.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/_alerts_table_alert_detail.haml')
-rw-r--r--views/_alerts_table_alert_detail.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/_alerts_table_alert_detail.haml b/views/_alerts_table_alert_detail.haml
index b5ada45..3bb25c3 100644
--- a/views/_alerts_table_alert_detail.haml
+++ b/views/_alerts_table_alert_detail.haml
@@ -6,7 +6,7 @@
#{alert.detail}
%address
- if alert.raised? or alert.acknowledged?
- Raised at #{alert.raised_at.to_s_human} •
+ Raised at #{(alert.raised_at || Time.now).to_s_human} •
- if alert.acknowledged?
Ack'd at #{alert.acknowledged_at.to_s_human} by #{alert.acknowledged_by} •
Source: #{alert.source} •