From 29b08ea331f3bf003173a4f6fff705bd750df7cb Mon Sep 17 00:00:00 2001 From: "bzrmirror%bugzilla.org" Date: Mon, 26 Aug 2013 22:58:58 +0000 Subject: [PATCH] Bug 903337 - Do not display the CC list and the "Remove selected CCs" checkbox if the CC list is empty r=simon, a=glob git-svn-id: svn://10.0.0.236/trunk@264984 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- .../template/en/default/attachment/create.html.tmpl | 2 +- .../bugzilla/template/en/default/attachment/edit.html.tmpl | 2 +- .../bugzilla/template/en/default/bug/edit.html.tmpl | 6 +++--- .../template/en/default/bug/show-multiple.html.tmpl | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 74ad95528db..6582744d854 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -8714 \ No newline at end of file +8715 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/template/en/default/attachment/create.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/attachment/create.html.tmpl index 8f5477e2302..abc0f97bf13 100644 --- a/mozilla/webtools/bugzilla/template/en/default/attachment/create.html.tmpl +++ b/mozilla/webtools/bugzilla/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 %]