diff options
author | Sunil Joshi <joshi_sunil@in.com> | 2013-08-27 08:34:30 +1000 |
---|---|---|
committer | Simon Green <sgreen@redhat.com> | 2013-08-27 08:34:30 +1000 |
commit | 7cc0c53c360dde719ecad8139ab0fe7c2a65a640 (patch) | |
tree | 117f7a25033b54631cab2e5deb0585435b32462c /template/en/default/bug/edit.html.tmpl | |
parent | 0b1ea79edf45677d41c2cc8f2c71426a3a5fb097 (diff) | |
download | bugs-7cc0c53c360dde719ecad8139ab0fe7c2a65a640.tar bugs-7cc0c53c360dde719ecad8139ab0fe7c2a65a640.tar.gz bugs-7cc0c53c360dde719ecad8139ab0fe7c2a65a640.tar.bz2 bugs-7cc0c53c360dde719ecad8139ab0fe7c2a65a640.tar.xz bugs-7cc0c53c360dde719ecad8139ab0fe7c2a65a640.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/bug/edit.html.tmpl')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 54e1cdb7a..683d6ed4a 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -738,7 +738,7 @@ </th> <td> [% IF user.id %] - [% IF NOT bug.cc || NOT bug.cc.contains(user.login) %] + [% IF NOT bug.cc.contains(user.login) %] <input type="checkbox" id="addselfcc" name="addselfcc" [% " checked=\"checked\"" IF user.settings.state_addselfcc.value == 'always' @@ -748,7 +748,7 @@ <br> [% END %] [% END %] - [% bug.cc.size || 0 FILTER html %] + [% bug.cc.size FILTER html %] [% IF bug.cc.size == 1 %] user [% ELSE %] @@ -779,7 +779,7 @@ %] </div> [% END %] - [% IF bug.cc %] + [% IF bug.cc.size %] <select id="cc" multiple="multiple" size="5" [% IF bug.user.canedit %]name="cc"[% END %]> [% FOREACH c = bug.cc %] |