diff options
Diffstat (limited to 'extensions/BugModal/template/en/default/bug_modal/cc_list.html.tmpl')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/cc_list.html.tmpl | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/cc_list.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/cc_list.html.tmpl index 37f582e0e..ceb6e3b62 100644 --- a/extensions/BugModal/template/en/default/bug_modal/cc_list.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/cc_list.html.tmpl @@ -9,8 +9,20 @@ [% UNLESS cc_list.size; 'None'; - END; - FOREACH cc IN cc_list; - INCLUDE bug_modal/user.html.tmpl u=cc; + RETURN; END; %] + +[% FOREACH cc IN cc_list %] + <div class="cc-user" data-n="[% loop.count FILTER none %]"> + [% IF bug.user.canedit %] + <a href="#" id="ccr-[% loop.count FILTER none %]" class="cc-remove" + data-n="[% loop.count FILTER none %]" data-login="[% cc.login FILTER html %]" + title="Remove" style="visibility:hidden"> ✖ </a> + [% END %] + [% INCLUDE bug_modal/user.html.tmpl + u = cc + id = "ccu-" _ loop.count + %] + </div> +[% END %] |