aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-07-13 16:44:17 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-07-13 16:44:17 +0100
commite07cea09e884607d6ad005f5e2822251ca31b9ba (patch)
treeafc3aee746bb36c28e59d5f7b0f6dd896824307f /views
parente140af144e987ff7f6d767f2dc48b9cf685803fd (diff)
Further tweaks.
Diffstat (limited to 'views')
-rw-r--r--views/_acknowledge_input.haml6
-rw-r--r--views/alert.haml13
2 files changed, 3 insertions, 16 deletions
diff --git a/views/_acknowledge_input.haml b/views/_acknowledge_input.haml
index 82f3044..97847c8 100644
--- a/views/_acknowledge_input.haml
+++ b/views/_acknowledge_input.haml
@@ -8,9 +8,9 @@ Acknowledge these alerts for
hours
%span#ack_until_text
%input#ack_until{ :value => '', :type => :hidden, :name => 'ack_until' }
-%br
-with the note
-%input#note{ :name => 'note', :type => "text"}
+-# %br
+-# with the note
+-# %input#note{ :name => 'note', :type => "text"}
%input{ :type => 'submit', :value => 'Go!' }
:javascript
// Change of value in the hours box
diff --git a/views/alert.haml b/views/alert.haml
index d4e274f..30aeb86 100644
--- a/views/alert.haml
+++ b/views/alert.haml
@@ -44,19 +44,6 @@
%th{:title => "The time at which the alert will be automatically cleared"} Will clear
%td= @alert.will_raise_at.to_s_human
%tr
- %th Notifications sent out
- %td
- %ul
- - @alert.changes.first(10).each do |change|
- - if change.was_relevant?
- %li
- %strong= change.level
- = change.update_type
- notification to
- = change.person
- at
- = change.at.to_s_human
- %tr
%th History
%td
%ul#histories