aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cabo <david@calibea.com>2012-02-20 13:38:42 +0100
committerDavid Cabo <david@calibea.com>2012-02-20 13:38:42 +0100
commit571bd7d9e3aa2102b24ed5a14e659e409e355d96 (patch)
treecf6119d56f17b3171bbc609101f3552ae409bf58
parent0bb64cdf6c26f52e8395875f2a50a18164e76f83 (diff)
Override a mailer template as an example
-rw-r--r--lib/views/outgoing_mailer/initial_request.rhtml9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/views/outgoing_mailer/initial_request.rhtml b/lib/views/outgoing_mailer/initial_request.rhtml
new file mode 100644
index 0000000..a172b41
--- /dev/null
+++ b/lib/views/outgoing_mailer/initial_request.rhtml
@@ -0,0 +1,9 @@
+<%= @outgoing_message.body.strip %>
+
+-------------------------------------------------------------------
+
+<%= _('This is an FOI request done via the {{site_name}} website. This footer has been overriden by the sample Alaveteli theme.', :site_name => site_name) %>
+
+<%= render :partial => 'followup_footer' %>
+
+-------------------------------------------------------------------