diff options
author | Sunil Joshi <joshi_sunil@in.com> | 2013-08-27 08:36:31 +1000 |
---|---|---|
committer | Simon Green <sgreen@redhat.com> | 2013-08-27 08:36:31 +1000 |
commit | 9898170a013876f841994da9914148d1948f019a (patch) | |
tree | 17681a0869bd79e624b34ffeb45bd29ca7ef5c79 /template/en/default/attachment | |
parent | Bug 601825 - "Linux Distributions" should link to the "Prerequisites" wiki pa... (diff) | |
download | bugzilla-9898170a013876f841994da9914148d1948f019a.tar.gz bugzilla-9898170a013876f841994da9914148d1948f019a.tar.bz2 bugzilla-9898170a013876f841994da9914148d1948f019a.zip |
Bug 903337 - Do not display the CC list and the "Remove selected CCs" checkbox if the CC list is empty
r=simon, a=glob
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r-- | template/en/default/attachment/create.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/attachment/edit.html.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index 8f5477e23..abc0f97bf 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -92,7 +92,7 @@ TUI_hide_default('attachment_text_field'); cols = constants.COMMENT_COLS wrap = 'soft' %] - [% IF NOT bug.cc || NOT bug.cc.contains(user.login) %] + [% IF NOT bug.cc.contains(user.login) %] <br> <input type="checkbox" id="addselfcc" name="addselfcc" [%~ ' checked="checked"' diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 67dcabd75..518737788 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -255,7 +255,7 @@ wrap = 'soft' classes = classNames %] - [% IF NOT attachment.bug.cc || NOT attachment.bug.cc.contains(user.login) %] + [% IF NOT attachment.bug.cc.contains(user.login) %] <input type="checkbox" id="addselfcc" name="addselfcc" [%~ ' checked="checked"' IF user.settings.state_addselfcc.value == 'always' |