aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/request/show.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/request/show.rhtml')
-rw-r--r--app/views/request/show.rhtml12
1 files changed, 10 insertions, 2 deletions
diff --git a/app/views/request/show.rhtml b/app/views/request/show.rhtml
index fd2455475..4af4ef8c0 100644
--- a/app/views/request/show.rhtml
+++ b/app/views/request/show.rhtml
@@ -41,8 +41,16 @@
<% elsif @status == 'partially_successful' %>
The request was <strong>partially successful</strong>.
<% elsif @status == 'waiting_clarification' %>
- The request is <strong>waiting clarification</strong>
- by <%= user_link(@info_request.user) %>.
+ <% if @is_owning_user %>
+ <%=h @info_request.public_body.name %> is <strong>waiting for your clarification</strong>.
+ Please
+ <%= link_to "send a follow up message", show_response_url(:id => @info_request.id, :incoming_message_id => @info_request.get_last_response.id) %>.
+ <% else %>
+ The request is <strong>waiting for clarification</strong>.
+ If you are
+ <%= user_link(@info_request.user) %>, please
+ <%= link_to "sign in", signin_url(:r => request.request_uri) %> to send a follow up message.
+ <% end %>
<% else %>
<% raise "unknown status " + @status %>
<% end %>