From 7cc0c53c360dde719ecad8139ab0fe7c2a65a640 Mon Sep 17 00:00:00 2001 From: Sunil Joshi Date: Tue, 27 Aug 2013 08:34:30 +1000 Subject: Bug 903337 - Do not display the CC list and the "Remove selected CCs" checkbox if the CC list is empty r=simon, a=glob --- template/en/default/bug/edit.html.tmpl | 6 +++--- template/en/default/bug/show-multiple.html.tmpl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'template/en/default/bug') 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 @@ [% 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 %]