diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin_request/edit.rhtml | 1 | ||||
-rw-r--r-- | app/views/general/search.rhtml | 1 | ||||
-rw-r--r-- | app/views/help/contact.rhtml | 5 | ||||
-rw-r--r-- | app/views/request/_describe_state.rhtml | 4 | ||||
-rw-r--r-- | app/views/request/show.rhtml | 2 | ||||
-rw-r--r-- | app/views/request/show_response.rhtml | 37 |
6 files changed, 50 insertions, 0 deletions
diff --git a/app/views/admin_request/edit.rhtml b/app/views/admin_request/edit.rhtml index b6c84426d..b5f31e403 100644 --- a/app/views/admin_request/edit.rhtml +++ b/app/views/admin_request/edit.rhtml @@ -19,6 +19,7 @@ [ 'waiting_response', 'waiting_clarification', + 'gone_postal', 'not_held', 'rejected', 'successful', diff --git a/app/views/general/search.rhtml b/app/views/general/search.rhtml index 53a931ffc..fba1a2a6b 100644 --- a/app/views/general/search.rhtml +++ b/app/views/general/search.rhtml @@ -127,6 +127,7 @@ <tr><td><strong>status:partially_successful</strong></td><td> Some of the information requested has been received </td></tr> <tr><td><strong>status:successful</strong></td><td> All of the information requested has been received </td></tr> <tr><td><strong>status:waiting_clarification</strong></td><td> The public authority would like part of the request explained </td></tr> + <tr><td><strong>status:gone_postal</strong></td><td> The public authority would like to / has responded by post </td></tr> <tr><td><strong>status:requires_admin</strong></td><td> A strange reponse, required attention by the WhatDoTheyKnow team </td></tr> </table> <% end %> diff --git a/app/views/help/contact.rhtml b/app/views/help/contact.rhtml index 14b2740ac..c031fbc4b 100644 --- a/app/views/help/contact.rhtml +++ b/app/views/help/contact.rhtml @@ -53,6 +53,11 @@ <%= f.text_area :message, :rows => 10, :cols => 60 %> </p> + <p class="form_note"> + If you are referring to a specific request or authority, it would + be helpful if you could include a link to it in your message. + </p> + <div class="form_button"> <%= hidden_field_tag(:submitted_contact_form, 1) %> <%= submit_tag "Send message to the WhatDoTheyKnow team" %> diff --git a/app/views/request/_describe_state.rhtml b/app/views/request/_describe_state.rhtml index 0c29ca01c..2eea28bbd 100644 --- a/app/views/request/_describe_state.rhtml +++ b/app/views/request/_describe_state.rhtml @@ -10,6 +10,10 @@ <%= radio_button "incoming_message", "described_state", "waiting_clarification", :id => 'waiting_clarification' + id_suffix %> <label for="waiting_clarification<%=id_suffix%>">I'm about to <strong>clarify</strong> my request</label> </div> + <div> + <%= radio_button "incoming_message", "described_state", "gone_postal", :id => 'gone_postal' + id_suffix %> + <label for="gone_postal<%=id_suffix%>">They would like to / are going to reply <strong>by post</strong></label> + </div> <hr> <div> <%= radio_button "incoming_message", "described_state", "not_held", :id => 'not_held' + id_suffix %> diff --git a/app/views/request/show.rhtml b/app/views/request/show.rhtml index 644330a21..d530631a7 100644 --- a/app/views/request/show.rhtml +++ b/app/views/request/show.rhtml @@ -92,6 +92,8 @@ <%= user_link(@info_request.user) %>, please <%= link_to "sign in", signin_url(:r => request.request_uri) %> to send a follow up message. <% end %> + <% elsif @status == 'gone_postal' %> + The authority would like to / has <strong>responded by post</strong> to this request. <% elsif @status == 'requires_admin' %> This request has had an unusual response, and <strong>requires attention</strong> from the WhatDoTheyKnow team. <% else %> diff --git a/app/views/request/show_response.rhtml b/app/views/request/show_response.rhtml index 725ee5ba9..e8f99fc4e 100644 --- a/app/views/request/show_response.rhtml +++ b/app/views/request/show_response.rhtml @@ -8,6 +8,43 @@ <%= foi_error_messages_for :incoming_message, :outgoing_message %> +<% if @gone_postal %> + <div class="gone_postal_help"> + <h1>What exactly is happening?</h1> + + <dl> + + <dt> + The authority say that they <strong>need a postal + address</strong>, not just an email, for it to be a valid FOI request + </dt> + <dd> + The law, the Ministry of Justice and the Information Commissioner + all say that an email is sufficient (<a href="/help/about#full_address">more details</a>). + At the bottom of this page, write a reply to the authority explaining this to them. + </dd> + + <dt> + The authority only has a <strong>paper copy</strong> of the information. + </dt> + <dd> + At the bottom of this page, write a reply to them trying to persuade them to scan it in + (<a href="/help/about#postal_answer">more details</a>). + </dd> + + <dt> + You want to <strong>give your postal address</strong> to the authority in private. + </dt> + <dd> + To do that please send a private email to <%=h(@postal_email_name)%> + <<%=link_to h(@postal_email), "mailto:" + @postal_email%>> + containing your postal address, and asking them to reply to this request. + </dd> + + </dl> + </div> +<% end %> + <div id="show_response_view"> <% if @is_owning_user %> <% if @incoming_message.nil? %> |