From 1c8bf33bd7663fcb67fe854d968670aa475173dd Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Tue, 19 Jul 2011 16:50:49 +0100 Subject: * Fixed supressed spelling mistakes (sic) * Added require thin_parser to http_server * Fixed spurious thaw attempts in mauve_thread. --- lib/mauve/notifiers/templates/email.html.erb | 4 ++-- lib/mauve/notifiers/templates/email.txt.erb | 4 ++-- lib/mauve/notifiers/templates/xmpp.txt.erb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/mauve/notifiers/templates') diff --git a/lib/mauve/notifiers/templates/email.html.erb b/lib/mauve/notifiers/templates/email.html.erb index 99f56d5..f0ce1be 100644 --- a/lib/mauve/notifiers/templates/email.html.erb +++ b/lib/mauve/notifiers/templates/email.html.erb @@ -19,9 +19,9 @@ end

Detail

<%= RedCloth.new(alert.detail).to_html %>

-<% if was_supressed and not is_suppressed %> +<% if was_suppressed and not is_suppressed %>

Better now. Your notifications have now restarted.

-<% elsif is_supressed and not was_suppressed %> +<% elsif is_suppressed and not was_suppressed %>

Too noisy! Your notifications have been suppressed.

<% end %>
--
Love mauve
xxx.
diff --git a/lib/mauve/notifiers/templates/email.txt.erb b/lib/mauve/notifiers/templates/email.txt.erb index a08ec55..dc5762b 100644 --- a/lib/mauve/notifiers/templates/email.txt.erb +++ b/lib/mauve/notifiers/templates/email.txt.erb @@ -19,9 +19,9 @@ end ----------------------------------------------------------------------- -<% if was_supressed and not is_suppressed +<% if was_suppressed and not is_suppressed %>Better now. Your notifications have now restarted.<% -elsif is_supressed and not was_suppressed +elsif is_suppressed and not was_suppressed %>Too noisy! Your notifications have been suppressed.<% end %> -- diff --git a/lib/mauve/notifiers/templates/xmpp.txt.erb b/lib/mauve/notifiers/templates/xmpp.txt.erb index d39500c..837fd67 100644 --- a/lib/mauve/notifiers/templates/xmpp.txt.erb +++ b/lib/mauve/notifiers/templates/xmpp.txt.erb @@ -15,6 +15,6 @@ end if was_suppressed and not is_suppressed %> Normal service has resumed.<% elsif is_suppressed and not was_suppressed -%> Further alerts supressed until things calm down.<% +%> Further alerts suppressed until things calm down.<% end %> -- cgit v1.2.1