aboutsummaryrefslogtreecommitdiff
path: root/views/alert.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/alert.haml')
-rw-r--r--views/alert.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/alert.haml b/views/alert.haml
index 7e7503f..d4e274f 100644
--- a/views/alert.haml
+++ b/views/alert.haml
@@ -47,7 +47,7 @@
%th Notifications sent out
%td
%ul
- - @alert.changes.each do |change|
+ - @alert.changes.first(10).each do |change|
- if change.was_relevant?
%li
%strong= change.level
@@ -59,8 +59,8 @@
%tr
%th History
%td
- %ul
- - @alert.histories.each do |history|
+ %ul#histories
+ - @alert.histories.first(10).each do |history|
%li
= history.event
at