diff options
author | lpsolit%gmail.com <> | 2006-05-10 07:41:44 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-05-10 07:41:44 +0000 |
commit | a6b4362d3ef33b1c1fdc06690511cac19b8e2be3 (patch) | |
tree | 744da46b2be688246146077e4e2b10cb24e031b8 /template/en/default/bug | |
parent | 7e37bcbda25c4f776b508c192f38a72cd51b8ea0 (diff) | |
download | bugs-a6b4362d3ef33b1c1fdc06690511cac19b8e2be3.tar bugs-a6b4362d3ef33b1c1fdc06690511cac19b8e2be3.tar.gz bugs-a6b4362d3ef33b1c1fdc06690511cac19b8e2be3.tar.bz2 bugs-a6b4362d3ef33b1c1fdc06690511cac19b8e2be3.tar.xz bugs-a6b4362d3ef33b1c1fdc06690511cac19b8e2be3.zip |
Bug 7710: Pref to automatically put me on the CC: list of bugs I change - Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=LpSolit a=myk
Diffstat (limited to 'template/en/default/bug')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index c2bd1b50b..51f4223f3 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -573,8 +573,18 @@ %] [% IF NOT bug.cc || NOT bug.cc.contains(user.login) %] + [% has_role = bug.user.isreporter + || bug.assigned_to.id == user.id + || (Param('useqacontact') + && bug.qa_contact + && bug.qa_contact.id == user.id) %] + <br> - <input type="checkbox" id="addselfcc" name="addselfcc"> + <input type="checkbox" id="addselfcc" name="addselfcc" + [% " checked=\"checked\"" + IF user.settings.state_addselfcc.value == 'always' + || (!has_role + && user.settings.state_addselfcc.value == 'cc_unless_role') %]> <label for="addselfcc">Add [% user.login FILTER html %] to CC list</label> [% END %] <br> |