diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-07-07 10:44:41 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-07-07 10:48:05 +0100 |
commit | e210e85879b4dc29af095e2614d04b188e4bf647 (patch) | |
tree | 2e58e99e11ab554ecc73999eebf94028ce722d47 | |
parent | bd0fab680a361b93e27b8abef54387c89964715e (diff) |
More removal of hard-coded IZ copy; and factored out standard email footer to make it easier to override in themes.
-rw-r--r-- | app/views/outgoing_mailer/_followup_footer.rhtml | 4 | ||||
-rw-r--r-- | app/views/outgoing_mailer/followup.rhtml | 5 | ||||
-rw-r--r-- | app/views/outgoing_mailer/initial_request.rhtml | 8 |
3 files changed, 8 insertions, 9 deletions
diff --git a/app/views/outgoing_mailer/_followup_footer.rhtml b/app/views/outgoing_mailer/_followup_footer.rhtml new file mode 100644 index 000000000..d7bc7c5aa --- /dev/null +++ b/app/views/outgoing_mailer/_followup_footer.rhtml @@ -0,0 +1,4 @@ +<%= _('Disclaimer: This message and any reply that you make will be published on the internet. Our privacy and copyright policies:')%> +<%= help_officers_url %> + +<%= _('If you find this service useful as an FOI officer, please ask your web manager to link to us from your organisation\'s FOI page.')%> diff --git a/app/views/outgoing_mailer/followup.rhtml b/app/views/outgoing_mailer/followup.rhtml index aa00d7461..7050a295b 100644 --- a/app/views/outgoing_mailer/followup.rhtml +++ b/app/views/outgoing_mailer/followup.rhtml @@ -3,11 +3,8 @@ <%= @outgoing_message.quoted_part_to_append_to_email.strip %> ------------------------------------------------------------------- -<%= _('Disclaimer: This message and any reply that you make will be published on the internet. Our privacy and copyright policies:')%> -http://www.informatazyrtare.org/help/officers - <%= _('Please use this email address for all replies to this request:')%> <%= @info_request.incoming_email %> -<%= _('If you find WhatDoTheyKnow useful as an FOI officer, please ask your web manager to suggest us on your organisation\'s FOI page.')%> +<%= render :partial => 'followup_footer' %> ------------------------------------------------------------------- diff --git a/app/views/outgoing_mailer/initial_request.rhtml b/app/views/outgoing_mailer/initial_request.rhtml index 1813e5348..13b356c6e 100644 --- a/app/views/outgoing_mailer/initial_request.rhtml +++ b/app/views/outgoing_mailer/initial_request.rhtml @@ -1,14 +1,12 @@ <%= @outgoing_message.body.strip %> ------------------------------------------------------------------- -<%= _('Disclaimer: This message and any reply that you make will be published on the internet. Our privacy and copyright policies:')%> -http://www.informatazyrtare.org/help/officers <%= _('Please use this email address for all replies to this request:')%> <%= @info_request.incoming_email %> -Is <%= @info_request.public_body.request_email%> the wrong address for <%= @info_request.law_used_full %> requests to <%= @info_request.public_body.name%>? If so please contact us using this form: -http://www.informatazyrtare.org/help/contact +<%= _('Is {{email_address}} the wrong address for {{type_of_request}} requests tp {{public_body_name}}? If so, please contact us using this form:', :email_address => @info_request.public_body.request_email, :type_of_request => @info_request.law_used_full, :public_body_name => @info_request.public_body.name)%> + +<%= render :partial => 'followup_footer' %> -<%= _('If you find WhatDoTheyKnow useful as an FOI officer, please ask your web manager to suggest us on your organisation\'s FOI page.')%> ------------------------------------------------------------------- |