diff options
author | matthew <matthew> | 2008-11-17 22:42:12 +0000 |
---|---|---|
committer | matthew <matthew> | 2008-11-17 22:42:12 +0000 |
commit | cf5fc4cc7cf4cba8c8dd5af1914a85f72d38bb75 (patch) | |
tree | 813a9e1d34d83e27c17f0092363b7d1e2fd619c2 | |
parent | bc3912e314f111a5e0d39046784b43724960789f (diff) |
Don't say sent to council if it's not.
-rwxr-xr-x | web/confirm.cgi | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/web/confirm.cgi b/web/confirm.cgi index ed4c93073..b4f637720 100755 --- a/web/confirm.cgi +++ b/web/confirm.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: confirm.cgi,v 1.49 2008-11-17 11:50:35 matthew Exp $ +# $Id: confirm.cgi,v 1.50 2008-11-17 22:42:12 matthew Exp $ use strict; use Standard; @@ -124,7 +124,8 @@ sub confirm_problem { . sprintf(' <a href="%s">View the problem on this site</a>.', "/report/$id") )); } elsif ($q->{site} eq 'emptyhomes') { - $out = $q->p('Thank you for reporting an empty property on + if ($council) { + $out = $q->p('Thank you for reporting an empty property on ReportEmptyHomes.com. We have emailed the empty property officer in the council responsible with the details and asked them to do whatever they can to get the empty property back into use as soon as possible.') . @@ -138,7 +139,13 @@ $q->p('We will contact you again in a month and again after six months to ask wh happened. Hopefully the property will be well on the way to being brought back into use by then, but if not we can offer advice on what you can do next.') . $q->p('Thank you for using ReportEmptyHomes.com. Your action is already helping -to resolve the UK’s empty homes crisis.'); +to resolve the UK’s empty homes crisis.') . +$q->p('<a href="/report/' . $id . '">View your report</a>.'); + } else { + $out = $q->p('Thank you for reporting an empty property on +ReportEmptyHomes.com.') . +$q->p('<a href="/report/' . $id . '">View your report</a>.'); + } } else { $out = $q->p( _('You have successfully confirmed your problem') |