aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorChris Mytton <self@hecticjeff.net>2013-09-12 10:01:04 +0100
committerChris Mytton <self@hecticjeff.net>2013-09-12 10:01:04 +0100
commit0de03c9643f5deba3ecf2abb1bb961a5faa8a298 (patch)
tree4db913b9caf5f91eb9acdae50e474d8ffb7eb240 /templates
parent2b85ab1153a5dba9b5bb671144115a7f548dc6b3 (diff)
parent1f5c75fde567bccca3d51ad57bc8f01274e8d114 (diff)
Merge branch 'zurich-optional-problem-rejected-email'
Conflicts: t/cobrand/zurich.t
Diffstat (limited to 'templates')
-rw-r--r--templates/web/zurich/admin/report_edit.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/web/zurich/admin/report_edit.html b/templates/web/zurich/admin/report_edit.html
index 723086c46..648b91b08 100644
--- a/templates/web/zurich/admin/report_edit.html
+++ b/templates/web/zurich/admin/report_edit.html
@@ -103,6 +103,24 @@
[% END %]
</select></p>
+<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" />
+</p>
+
+<script type="text/javascript">
+$(function(){
+ // Show or hide the automatic reply field
+ $('#state').change(function(){
+ if ($(this).val() === 'hidden') {
+ $('#automatic-reply').show();
+ } else {
+ $('#automatic-reply').hide();
+ }
+ }).change();
+});
+</script>
+
[% IF problem.state == 'unconfirmed' OR problem.state == 'confirmed' %]
<ul class="no-bullets">