Line | |
---|
1 | |
---|
2 | <p>[% c.session.to.keys.size %] destinataires</p> |
---|
3 | |
---|
4 | <div style="height: 20em; overflow: auto"> |
---|
5 | [% FOREACH u = c.session.to.keys.sort %] |
---|
6 | [% IF loop.first %] |
---|
7 | <table> |
---|
8 | [% END %] |
---|
9 | [% obj = c.model('Accounts').db.get_object('user', u) %] |
---|
10 | |
---|
11 | <tr> |
---|
12 | <td> |
---|
13 | [% disp = obj.get_attributes('displayName') || u %] |
---|
14 | [% disp | html %] |
---|
15 | </td> |
---|
16 | <td> |
---|
17 | [% c.prototype.link_to_remote( |
---|
18 | '<img src="' _ c.uri_for('/static', 'images', 'user-trash.png' ) _ '" |
---|
19 | height="24" width="24" alt="" title="Retirer ' _ disp _ '">', { |
---|
20 | update => 'destlist', |
---|
21 | url => c.uri_for('/ajax', 'services', 'mailing', 'mod_to', { |
---|
22 | 'act' => 'remove_to', |
---|
23 | 'user' => u, |
---|
24 | },) |
---|
25 | }, { entities => '' } ) %] |
---|
26 | </td> |
---|
27 | </tr> |
---|
28 | [% IF loop.last %] |
---|
29 | <table> |
---|
30 | [% END %] |
---|
31 | [% END %] |
---|
32 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.