summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en/default/bug_modal/cc_list.html.tmpl
blob: ceb6e3b62236ea513eb6ba53a004d317ac2c5399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[%# This Source Code Form is subject to the terms of the Mozilla Public
  # License, v. 2.0. If a copy of the MPL was not distributed with this
  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  #
  # This Source Code Form is "Incompatible With Secondary Licenses", as
  # defined by the Mozilla Public License, v. 2.0.
  #%]

[%
  UNLESS cc_list.size;
    'None';
    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">&nbsp;&#x2716;&nbsp;</a>
    [% END %]
    [% INCLUDE bug_modal/user.html.tmpl
          u  = cc
          id = "ccu-" _ loop.count
    %]
  </div>
[% END %]