aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Mytton <self@hecticjeff.net>2013-09-20 12:08:37 +0100
committerChris Mytton <self@hecticjeff.net>2013-09-20 12:08:37 +0100
commit34cf74b3d18baa968ea3e45e69ca958e8ebcfaa5 (patch)
treee4cb91d12ec724adb256b4ec12e14683a5dc78a6
parent3d192852e827d6822a20767d413c568b2079e5f4 (diff)
[Zurich] Default to not sending rejected emails
Closes mysociety/FixMyStreet-Commercial#410
-rw-r--r--t/cobrand/zurich.t2
-rw-r--r--templates/web/zurich/admin/report_edit.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t
index 0876be582..88d1f6365 100644
--- a/t/cobrand/zurich.t
+++ b/t/cobrand/zurich.t
@@ -162,7 +162,7 @@ $mech->content_contains( 'Edited details text.' );
$mech->content_contains( 'Originaltext: &ldquo;Test Test 1 for 2 Detail&rdquo;' );
$mech->get_ok( '/admin/report_edit/' . $report->id );
-$mech->submit_form_ok( { with_fields => { body_subdivision => 3 } } );
+$mech->submit_form_ok( { with_fields => { body_subdivision => 3, send_rejected_email => 1 } } );
$mech->get_ok( '/report/' . $report->id );
$mech->content_contains('In Bearbeitung');
diff --git a/templates/web/zurich/admin/report_edit.html b/templates/web/zurich/admin/report_edit.html
index 10045447b..5958434dd 100644
--- a/templates/web/zurich/admin/report_edit.html
+++ b/templates/web/zurich/admin/report_edit.html
@@ -105,7 +105,7 @@
<p id="automatic-reply">
<span class="mock-label">automatische Antwort</span>
- <input type="checkbox" name="send_rejected_email" id="send_rejected_email" value="1" checked="checked" />
+ <input type="checkbox" name="send_rejected_email" id="send_rejected_email" value="1" />
</p>
<script type="text/javascript">