root/yapcasia2008/actdocs/templates/user/list

Revision 2610 (checked in by miyagawa, 12 years ago)

merged test to prod

Line 
1 <p>{{Committed users are listed in <b>bold</b> type}}</p>
2
3 [% IF users.size %]
4 <table id="user-list">
5 <tr>
6  <th>{{Name}}</th>
7  <th>{{City}}</th>
8  <th>{{Country}}</th>
9  <th>{{Monger group}}</th>
10  [% IF global.request.user.is_orga %]
11  <th>{{Email}}</th>
12  [% END %]
13 </tr>
14 [% FOREACH u=users %]
15  <tr>
16    <td>
17     [% "<strong>" IF u.committed %][% user_info(u) %][% "</strong>" IF u.committed %]
18     [% IF u.photo_name %]
19     <img src="/images/photo.png" alt="photo" title="photo" width="12" height="12" />
20     [% END %]
21    </td>
22    <td>
23       [%- IF u.town %]
24          [% u.town %]
25       [%- ELSE %]
26          &nbsp;
27       [% END %]
28    </td>
29    <td>
30       [% countries_iso.${u.country} %]
31    </td>
32    <td>
33       [%- IF u.pm_group %]
34          [% IF u.pm_group_url %]<a href="[% u.pm_group_url %]">[% END %]
35          [%- u.pm_group -%]
36          [%- IF u.pm_group_url %]</a>[% END %]
37       [% ELSE %]
38          &nbsp;
39       [% END %]
40    </td>
41    [% IF global.request.user.is_orga %]
42    <td>
43     <a href="mailto:[% u.email %]">[% u.email %]</a>
44    </td>
45    [% END %]
46 </tr>
47 [% END %]
48
49 </table>
50 [% END %]
Note: See TracBrowser for help on using the browser.