From 571bd7d9e3aa2102b24ed5a14e659e409e355d96 Mon Sep 17 00:00:00 2001 From: David Cabo Date: Mon, 20 Feb 2012 13:38:42 +0100 Subject: Override a mailer template as an example --- lib/views/outgoing_mailer/initial_request.rhtml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/views/outgoing_mailer/initial_request.rhtml (limited to 'lib/views/outgoing_mailer/initial_request.rhtml') 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' %> + +------------------------------------------------------------------- -- cgit v1.2.3