aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report
diff options
context:
space:
mode:
authorHakim Cassimally <hakim@mysociety.org>2015-02-25 18:04:58 +0000
committerDave Arter <davea@mysociety.org>2015-10-06 09:09:22 +0100
commit1c4f12860c2aee9e9fa3063969c3d995dda1871f (patch)
tree203c6f278c8a1c4afa5e0bd72e762d30d90be9c7 /perllib/FixMyStreet/App/Controller/Report
parent232cdef2681c64ddf3bfe70a08d88c2e5f4683fa (diff)
[Zurich] Vary confirmation email wording if address is confirmed
See mysociety/FixMyStreet-Commercial#669
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/New.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm
index d5b84815b..b55152693 100644
--- a/perllib/FixMyStreet/App/Controller/Report/New.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/New.pm
@@ -1162,6 +1162,9 @@ sub redirect_or_confirm_creation : Private {
}
} );
$c->stash->{token_url} = $c->uri_for_email( '/P', $token->token );
+ if ($c->cobrand->can('problem_confirm_email_extras')) {
+ $c->cobrand->problem_confirm_email_extras($report);
+ }
$c->send_email( $template, {
to => [ $report->name ? [ $report->user->email, $report->name ] : $report->user->email ],
} );