summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/edit.html.tmpl
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-04-08 22:03:09 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-04-08 22:03:09 +0200
commit72780239f1572950635e058caa4c28068034045f (patch)
treeee70cdd5d7f93a43d4aa638b6fb2d4b5ab42b003 /template/en/default/bug/edit.html.tmpl
parentbae339624bf43994d7cf3b543752c8ae0058d6b9 (diff)
downloadbugzilla-72780239f1572950635e058caa4c28068034045f.tar.gz
bugzilla-72780239f1572950635e058caa4c28068034045f.tar.xz
Bug 148564 - Ability to ignore specific bugs (not get email from them, even as the reporter)
r=glob,r/a=LpSolit
Diffstat (limited to 'template/en/default/bug/edit.html.tmpl')
-rw-r--r--template/en/default/bug/edit.html.tmpl34
1 files changed, 28 insertions, 6 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index c48b17c08..4c39b7cc3 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -92,19 +92,21 @@
<table cellpadding="3" cellspacing="1">
[%# *** Reported and modified dates *** %]
[% PROCESS section_dates %]
-
+
[% PROCESS section_cclist %]
-
+
+ [% PROCESS section_bug_ignored %]
+
[% PROCESS section_spacer %]
[% PROCESS section_see_also %]
-
+
[% PROCESS section_customfields %]
-
+
[% PROCESS section_spacer %]
-
+
[% Hook.process("after_custom_fields") %]
-
+
[% PROCESS section_flags %]
</table>
@@ -819,6 +821,26 @@
[% END %]
[%############################################################################%]
+[%# Block for Bug Ignored #%]
+[%############################################################################%]
+[% BLOCK section_bug_ignored %]
+ [% IF user.id %]
+ <tr>
+ <th class="field_label">
+ <label for="bug_ignored" title="Ignore all email for this [% terms.bug %]">
+ Ignore [% terms.Bug %] Mail:
+ </label>
+ </th>
+ <td>
+ <input type="hidden" name="defined_bug_ignored" value="1">
+ <input type="checkbox" name="bug_ignored" id="bug_ignored" value="1"
+ [% ' checked="checked"' IF user.is_bug_ignored(bug.id) %]>
+ </td>
+ </tr>
+ [% END %]
+[% END %]
+
+[%############################################################################%]
[%# Block for See Also #%]
[%############################################################################%]
[% BLOCK section_see_also %]