summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-11-26 06:17:19 +0100
committerByron Jones <glob@mozilla.com>2015-11-26 06:17:19 +0100
commit4e97b5b50641a9c5f450d5b75bd03e7767a0ef84 (patch)
treed4139a604f99b2a4872d0949e3764dfede303012 /extensions/BugModal/template
parent187fe43d154a17e596a1985a09d86f1a2b5ef0f1 (diff)
downloadbugzilla-4e97b5b50641a9c5f450d5b75bd03e7767a0ef84.tar.gz
bugzilla-4e97b5b50641a9c5f450d5b75bd03e7767a0ef84.tar.xz
Bug 1228101 - The "Add" button for CC is oddly placed
Diffstat (limited to 'extensions/BugModal/template')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl10
1 files changed, 8 insertions, 2 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
index c22c0a7f8..3c942d9da 100644
--- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
@@ -613,7 +613,6 @@
%]
[% IF user.id %]
- <button type="button" id="add-cc-btn" class="minor">Add</button>
<div id="add-cc-container" style="display:none">
[% INCLUDE global/userselect.html.tmpl
id = "add-cc"
@@ -637,10 +636,17 @@
END;
%]
</span>
- <div id="cc-list" style="display:none"></div>
[% ELSE %]
<i>Nobody</i>
[% END %]
+
+ [% IF user.id %]
+ <button type="button" id="add-cc-btn" class="minor">Add</button>
+ [% END %]
+
+ [% IF bug.cc && bug.cc.size %]
+ <div id="cc-list" style="display:none"></div>
+ [% END %]
[% END %]
[% END %]