diff options
Diffstat (limited to 'extensions/BugModal/template/en/default')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 10 |
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 %] |