From 135afb27802aae8e649e36f62b8037d939d2388a Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 3 Jun 2015 15:31:50 +0800 Subject: Bug 1146781: implement the "ignore bug mail" checkbox --- .../en/default/bug_modal/new_comment.html.tmpl | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'extensions/BugModal/template/en/default/bug_modal') diff --git a/extensions/BugModal/template/en/default/bug_modal/new_comment.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/new_comment.html.tmpl index 17bf38200..282b750d8 100644 --- a/extensions/BugModal/template/en/default/bug_modal/new_comment.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/new_comment.html.tmpl @@ -52,6 +52,8 @@
[% Hook.process("after_comment_commit_button", 'bug/edit.html.tmpl') %] + [%# this checkboxes are in tables to match the alignment of the + added-by-extensions checkboxes (needinfo, restrict-comments) %] [% IF NOT bug.cc || NOT bug.cc.contains(user.login) %] [% IF user.settings.state_addselfcc.value == 'always'; @@ -66,13 +68,11 @@ check_add_self = 0; END; %] - [%# this is in a table to match the alignment of the added-by-extensions - checkboxes (needinfo, restrict-comments) %]
+ [%= "checked" IF check_add_self %]> @@ -80,5 +80,21 @@
[% END %] + + [% IF user.is_involved_in_bug(bug) %] + + + + + + + [% END %]
-- cgit v1.2.3-24-g4f1b