summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment/create.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/attachment/create.html.tmpl')
-rw-r--r--template/en/default/attachment/create.html.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl
index 97408deac..8f5477e23 100644
--- a/template/en/default/attachment/create.html.tmpl
+++ b/template/en/default/attachment/create.html.tmpl
@@ -92,6 +92,15 @@ TUI_hide_default('attachment_text_field');
cols = constants.COMMENT_COLS
wrap = 'soft'
%]
+ [% IF NOT bug.cc || NOT bug.cc.contains(user.login) %]
+ <br>
+ <input type="checkbox" id="addselfcc" name="addselfcc"
+ [%~ ' checked="checked"'
+ IF user.settings.state_addselfcc.value == 'always'
+ || (!bug.user.has_any_role
+ && user.settings.state_addselfcc.value == 'cc_unless_role') %]>
+ <label for="addselfcc">Add me to CC list</label>
+ [% END %]
</td>
</tr>
[% IF user.is_insider %]