Commit d4d4f377 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 414382: Remove the duplicated "CC myself" checkbox below the "Additional…

Bug 414382: Remove the duplicated "CC myself" checkbox below the "Additional Comment" field in favor of the one near the CC list - Patch by Guy Pyrzak <guy.pyrzak@gmail.com> r/a=LpSolit
parent 49f2c30e
......@@ -242,21 +242,6 @@
cols = constants.COMMENT_COLS
%]
[% 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"
[% " checked=\"checked\""
IF user.settings.state_addselfcc.value == 'always'
|| (!has_role
&& user.settings.state_addselfcc.value == 'cc_unless_role') %]>
<label for="addselfcc">Add [% user.identity FILTER html %] to CC list</label>
[% END %]
[% ELSE %]
<fieldset>
<legend>Note</legend>
......@@ -786,15 +771,22 @@
</td>
<td>
[% IF user.id %]
<input type="checkbox" id="addselfcc_first" name="addselfcc"
[% ' checked="checked" '
[% 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) %]
<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')
|| bug.cc.contains( user.email ) %]>
<label for="addselfcc_first">
Myself ([% INCLUDE user_identity user=> user FILTER collapse %])
</label><br>
&& user.settings.state_addselfcc.value == 'cc_unless_role') %]>
<label for="addselfcc">
Myself ([% INCLUDE user_identity user=> user FILTER collapse %])
</label>
<br>
[% END %]
[% END %]
[% bug.cc.size || 0 FILTER html%]&nbsp;total users
[% IF user.id %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment