aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/SendReport/Zurich.pm
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2013-01-21 11:22:29 +0000
committerDave Whiteland <dave@mysociety.org>2013-01-21 11:22:29 +0000
commitbe3edb4178f05d371f917a1f8f8b4c5422d9fe89 (patch)
treefbfb4cd8de57377aca491afa7ddf51ab91072688 /perllib/FixMyStreet/SendReport/Zurich.pm
parentac6dae9128c503acc41e78527f1810c2f4ac3e30 (diff)
parente0695f6893d638c8ad73cc5c456929eb9a25a629 (diff)
Merge remote branch 'origin/zurich' into 170-zurich-site-nav
Diffstat (limited to 'perllib/FixMyStreet/SendReport/Zurich.pm')
-rw-r--r--perllib/FixMyStreet/SendReport/Zurich.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/SendReport/Zurich.pm b/perllib/FixMyStreet/SendReport/Zurich.pm
index ca9e6f33e..d700dcb15 100644
--- a/perllib/FixMyStreet/SendReport/Zurich.pm
+++ b/perllib/FixMyStreet/SendReport/Zurich.pm
@@ -39,6 +39,9 @@ sub get_template {
$template = 'submit-feedback-pending.txt';
} elsif ( $row->state eq 'closed' ) {
$template = 'submit-external.txt';
+ if ( $row->extra->{third_personal} ) {
+ $template = 'submit-external-personal.txt';
+ }
}
my $template_path = FixMyStreet->path_to( "templates", "email", "zurich", $template )->stringify;