diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/general/search.rhtml | 10 | ||||
-rw-r--r-- | app/views/help/about.rhtml | 2 | ||||
-rw-r--r-- | app/views/request/_followup.rhtml | 10 | ||||
-rw-r--r-- | app/views/request/show_response.rhtml | 2 | ||||
-rw-r--r-- | app/views/request_mailer/not_clarified_alert.rhtml | 9 |
5 files changed, 31 insertions, 2 deletions
diff --git a/app/views/general/search.rhtml b/app/views/general/search.rhtml index 60c268f86..85afe7846 100644 --- a/app/views/general/search.rhtml +++ b/app/views/general/search.rhtml @@ -1,5 +1,13 @@ <% @show_tips = @xapian_requests.nil? || (@total_hits == 0) %> +<% # XXX should call find_tracking_people in controller, not here / in partial + if @track_thing and TrackThing.find_tracking_people(@track_thing).size > 0 %> + <div id="request_sidebar"> + <h2>People tracking this search</h2> + <%= render :partial => 'track/tracking_people_and_link', :locals => { :track_thing => @track_thing, :list_people => true } %> + </div> +<% end %> + <% if @query.nil? %> <% @title = "Search Freedom of Information requests, public authorities and users" %> <h1><%=@title%></h1> @@ -39,7 +47,7 @@ <% end %> <% if @track_thing %> - <%= render :partial => 'track/tracking_people_and_link', :locals => { :track_thing => @track_thing, :own_request => false, :list_people => false } %> + <%= render :partial => 'track/tracking_people_and_link', :locals => { :track_thing => @track_thing, :list_people => false } %> <% end %> <% if @xapian_bodies.results.size > 0 %> diff --git a/app/views/help/about.rhtml b/app/views/help/about.rhtml index 71890380e..07f88ad11 100644 --- a/app/views/help/about.rhtml +++ b/app/views/help/about.rhtml @@ -65,6 +65,8 @@ primary care trusts or all schools, then please any UK bank holidays. The date that the response is due by is shown on the page for your request. You will be emailed if this date goes by without a response, so you can send the public authority another note to hurry them up. +<strong>Note:</strong> If you had to clarify your request, the clock starts from that date, +instead of the date they received your initial request. </dd> <dt id="not_satifised">What if I'm not satisfied with the response?</dt> diff --git a/app/views/request/_followup.rhtml b/app/views/request/_followup.rhtml index 0a9df60c2..fe7b09ea5 100644 --- a/app/views/request/_followup.rhtml +++ b/app/views/request/_followup.rhtml @@ -20,6 +20,16 @@ <p>Use this to tell the public authority something, such as to clarify your request, or if they are late responding.</p> + <% if @info_request.calculate_status == 'waiting_response_overdue' %> + <p>This request is currently <strong>overdue a response</strong> from <%= + public_body_link(@info_request.public_body) %>. + The response was due + on <strong><%= simple_date(@info_request.date_response_required_by) %></strong> + (<%= link_to "more info", about_url + "#quickly_response" %>). You can say + that under the Freedom of Information Act they should have replied by now. + </p> + <% end %> + <% form_for(:outgoing_message, @outgoing_message) do |o| %> <p> <%= o.text_area :body, :rows => 10, :cols => 55 %> diff --git a/app/views/request/show_response.rhtml b/app/views/request/show_response.rhtml index 77d03214d..45c3f02d4 100644 --- a/app/views/request/show_response.rhtml +++ b/app/views/request/show_response.rhtml @@ -26,7 +26,7 @@ <h2>Response to FOI request '<%= request_link @info_request %>'</h2> <% end %> <% end %> - + <% if @incoming_message.nil? %> <%= render :partial => 'correspondence', :locals => { :info_request_event => @info_request.get_last_outgoing_event, :incoming_message => nil } %> <% else %> diff --git a/app/views/request_mailer/not_clarified_alert.rhtml b/app/views/request_mailer/not_clarified_alert.rhtml new file mode 100644 index 000000000..8752d0606 --- /dev/null +++ b/app/views/request_mailer/not_clarified_alert.rhtml @@ -0,0 +1,9 @@ +<%=@info_request.public_body.name%> has asked you to explain +part of your FOI request. To do this, click on the link below. + +<%=@url%> + +You will only get an answer to your request if you follow up +with the clarification. + +-- the WhatDoTheyKnow team |