From 39e854b34e79086a62b2f1bc74ed6c488315695b Mon Sep 17 00:00:00 2001 From: francis Date: Thu, 2 Oct 2008 13:37:21 +0000 Subject: Donation links when someone marks a request as successful. --- app/controllers/request_controller.rb | 6 +++--- 1 file changed, 3 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 75092ed07..ee64a1efc 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.115 2008-09-24 19:55:39 francis Exp $ +# $Id: request_controller.rb,v 1.116 2008-10-02 13:37:21 francis Exp $ class RequestController < ApplicationController @@ -257,11 +257,11 @@ class RequestController < ApplicationController flash[:notice] = "Oh no! Sorry to hear that your request was rejected. Here is what to do now." redirect_to unhappy_url elsif @info_request.calculate_status == 'successful' - flash[:notice] = "We're glad you got all the information that you wanted. Thank you for using WhatDoTheyKnow." + flash[:notice] = "

We're glad you got all the information that you wanted. Thank you for using WhatDoTheyKnow.

Make a donation to the charity which runs this website.

" # XXX quiz them here for a comment redirect_to request_url(@info_request) elsif @info_request.calculate_status == 'partially_successful' - flash[:notice] = "We're glad you got some of the information that you wanted." + flash[:notice] = "

We're glad you got some of the information that you wanted.

If you found it useful, make a donation to the charity which runs this website.

" # XXX explain how to complain / quiz them for a comment redirect_to request_url(@info_request) elsif @info_request.calculate_status == 'waiting_clarification' -- cgit v1.2.3