aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin_request/edit.rhtml4
-rw-r--r--app/views/request_mailer/stopped_responses.rhtml14
2 files changed, 18 insertions, 0 deletions
diff --git a/app/views/admin_request/edit.rhtml b/app/views/admin_request/edit.rhtml
index e6d40337c..2d3745c1f 100644
--- a/app/views/admin_request/edit.rhtml
+++ b/app/views/admin_request/edit.rhtml
@@ -14,6 +14,10 @@
<%= select('info_request', "awaiting_description", [["Yes",true],["No",false]]) %>
</p>
+ <p><label for="info_request_stop_new_responses">Stop new responses</label> (use this on requests getting spam, but also work out how the email leaked and plug it)<br/>
+ <%= select('info_request', "stop_new_responses", [["Yes",true],["No",false]]) %>
+ </p>
+
<p><label for="info_request_described_state">Described state</label><br/>
<%= select( 'info_request', "described_state",
[
diff --git a/app/views/request_mailer/stopped_responses.rhtml b/app/views/request_mailer/stopped_responses.rhtml
new file mode 100644
index 000000000..43c6a2900
--- /dev/null
+++ b/app/views/request_mailer/stopped_responses.rhtml
@@ -0,0 +1,14 @@
+The email that you, on behalf of <%= @info_request.public_body.name%>, sent to
+<%= @info_request.user.name %> to reply to a Freedom of Information request has
+not been delivered.
+
+This is because '<%= @info_request.title %>' is an old request that has been
+marked to no longer receive responses.
+
+If this is incorrect, or you would like to send a late response to the request
+or an email on another subject to <%= @info_request.user.name %>, then please
+email <%=@contact_email%> for help.
+
+Your original message is attached.
+
+-- the WhatDoTheyKnow team