summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/attachment/create.html.tmpl2
-rw-r--r--template/en/default/attachment/edit.html.tmpl2
-rw-r--r--template/en/default/bug/edit.html.tmpl6
-rw-r--r--template/en/default/bug/show-multiple.html.tmpl2
4 files changed, 6 insertions, 6 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'
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 %]
diff --git a/template/en/default/bug/show-multiple.html.tmpl b/template/en/default/bug/show-multiple.html.tmpl
index a20daedfa..e55a7cad4 100644
--- a/template/en/default/bug/show-multiple.html.tmpl
+++ b/template/en/default/bug/show-multiple.html.tmpl
@@ -76,7 +76,7 @@
[% rightcells.push('qa_contact') %]
[% END %]
[% rightcells.push('') %]
- [% IF bug.cc %]
+ [% IF bug.cc.size %]
[% rightcells.push('cc') %]
[% END %]
[% IF bug.keywords %]