From 38104bb7da0208bfbcd3aca2c0aa3c38a0fd1bd0 Mon Sep 17 00:00:00 2001 From: francis Date: Fri, 7 Nov 2008 16:52:30 +0000 Subject: Improve message when you enter not held state. --- app/controllers/request_controller.rb | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'app/controllers/request_controller.rb') diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index 445a5c604..5d281a509 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -4,7 +4,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: request_controller.rb,v 1.137 2008-11-07 02:50:59 francis Exp $ +# $Id: request_controller.rb,v 1.138 2008-11-07 16:52:30 francis Exp $ class RequestController < ApplicationController @@ -270,8 +270,17 @@ class RequestController < ApplicationController flash[:notice] = "

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

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

" redirect_to request_url(@info_request) elsif @info_request.calculate_status == 'not_held' - flash[:notice] = "Thank you! You may want to send your request to another public authority. To do so, first copy the text of your request below, then find the other authority." - # XXX offer fancier option to duplicate request? + flash[:notice] = "

Thank you! Here are some ideas on what to do next:

+ + " redirect_to request_url(@info_request) elsif @info_request.calculate_status == 'rejected' flash[:notice] = "Oh no! Sorry to hear that your request was rejected. Here is what to do now." -- cgit v1.2.3