aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin_request/edit.rhtml1
-rw-r--r--app/views/general/search.rhtml1
-rw-r--r--app/views/request/show.rhtml3
3 files changed, 5 insertions, 0 deletions
diff --git a/app/views/admin_request/edit.rhtml b/app/views/admin_request/edit.rhtml
index 646d643fe..d00ec2c4c 100644
--- a/app/views/admin_request/edit.rhtml
+++ b/app/views/admin_request/edit.rhtml
@@ -26,6 +26,7 @@
'partially_successful',
'internal_review',
'requires_admin',
+ 'user_withdrawn'
]) %>
</p>
diff --git a/app/views/general/search.rhtml b/app/views/general/search.rhtml
index 94668e59d..7a4726f2a 100644
--- a/app/views/general/search.rhtml
+++ b/app/views/general/search.rhtml
@@ -132,6 +132,7 @@
<tr><td><strong><%=search_link('status:gone_postal')%></strong></td><td> The public authority would like to / has responded by post </td></tr>
<tr><td><strong><%=search_link('status:internal_review')%></strong></td><td> Waiting for the public authority to complete an internal review of their handling of the request</td></tr>
<tr><td><strong><%=search_link('status:requires_admin')%></strong></td><td> A strange reponse, required attention by the WhatDoTheyKnow team </td></tr>
+ <tr><td><strong><%=search_link('status:user_withdrawn')%></strong></td><td> The requester has abandoned this request for some reason </td></tr>
</table>
<h2 id="varieties">Table of varieties</h2>
diff --git a/app/views/request/show.rhtml b/app/views/request/show.rhtml
index f173dfe64..1993b77ce 100644
--- a/app/views/request/show.rhtml
+++ b/app/views/request/show.rhtml
@@ -111,6 +111,9 @@
Waiting for an <strong>internal review</strong> by <%= public_body_link(@info_request.public_body) %> of their handling of this request.
<% elsif @status == 'requires_admin' %>
This request has had an unusual response, and <strong>requires attention</strong> from the WhatDoTheyKnow team.
+ <% elsif @status == 'user_withdrawn' %>
+ This request has been <strong>withdrawn</strong> by the person who made it.
+ There may be an explanation in an annotation below.
<% else %>
<% raise "unknown status " + @status %>
<% end %>