From 975bdbe1179adfef718aed7580e6bea5a8bebf13 Mon Sep 17 00:00:00 2001 From: Francis Irving Date: Wed, 16 Dec 2009 21:42:48 +0000 Subject: Make sure text is fine for schools. --- app/controllers/request_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/controllers/request_controller.rb') diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index 98924f0a0..bd89a7db9 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -318,10 +318,10 @@ class RequestController < ApplicationController # Display advice for requester on what to do next, as appropriate if @info_request.calculate_status == 'waiting_response' - flash[:notice] = "

Thank you! Hopefully your wait isn't too long.

By law, you should get a response promptly, and normally before the end of " + simple_date(@info_request.date_response_required_by) + ".

" + flash[:notice] = "

Thank you! Hopefully your wait isn't too long.

By law, you should get a response promptly, and " + (@info_request.public_body.is_school? ? "in term time" : "") + " normally before the end of " + simple_date(@info_request.date_response_required_by) + ".

" redirect_to request_url(@info_request) elsif @info_request.calculate_status == 'waiting_response_overdue' - flash[:notice] = "

Thank you! Hope you don't have to wait much longer.

By law, you should have got a response promptly, and normally before the end of " + simple_date(@info_request.date_response_required_by) + ".

" + flash[:notice] = "

Thank you! Hope you don't have to wait much longer.

By law, you should have got a response promptly, and " + (@info_request.public_body.is_school? ? "in term time" : "") + " normally before the end of " + simple_date(@info_request.date_response_required_by) + ".

" redirect_to request_url(@info_request) elsif @info_request.calculate_status == 'waiting_response_very_overdue' flash[:notice] = "

Thank you! Your request is long overdue, by more than 40 working days. Most requests should be answered within 20 working days. You might like to complain about this, see below.

" -- cgit v1.2.3