From a6b4362d3ef33b1c1fdc06690511cac19b8e2be3 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 10 May 2006 07:41:44 +0000 Subject: Bug 7710: Pref to automatically put me on the CC: list of bugs I change - Patch by Olav Vitters r=LpSolit a=myk --- template/en/default/bug/edit.html.tmpl | 12 +++++++++++- template/en/default/global/setting-descs.none.tmpl | 4 ++++ 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'template') 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) %] +
- + [% END %]
diff --git a/template/en/default/global/setting-descs.none.tmpl b/template/en/default/global/setting-descs.none.tmpl index a0dbeb1a3..6962d9ea6 100644 --- a/template/en/default/global/setting-descs.none.tmpl +++ b/template/en/default/global/setting-descs.none.tmpl @@ -34,5 +34,9 @@ "next_bug" => "Show next $terms.bug in my list", "same_bug" => "Show the updated $terms.bug", "nothing" => "Do Nothing", + "state_addselfcc" => "Automatically add me to the CC list of bugs I change", + "always" => "Always", + "never" => "Never", + "cc_unless_role" => "Only if I have no role on them", } %] -- cgit v1.2.1