From: Sunil Joshi Date: Mon, 26 Aug 2013 22:34:30 +0000 (+1000) Subject: Bug 903337 - Do not display the CC list and the "Remove selected CCs" checkbox if... X-Git-Tag: bugzilla-4.5.1~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cc0c53c360dde719ecad8139ab0fe7c2a65a640;p=thirdparty%2Fbugzilla.git Bug 903337 - Do not display the CC list and the "Remove selected CCs" checkbox if the CC list is empty r=simon, a=glob --- diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index 8f5477e230..abc0f97bf1 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) %]
[% IF user.id %] - [% IF NOT bug.cc || NOT bug.cc.contains(user.login) %] + [% IF NOT bug.cc.contains(user.login) %] [% END %] [% END %] - [% bug.cc.size || 0 FILTER html %] + [% bug.cc.size FILTER html %] [% IF bug.cc.size == 1 %] user [% ELSE %] @@ -779,7 +779,7 @@ %] [% END %] - [% IF bug.cc %] + [% IF bug.cc.size %]