source: trunk/LATMOS-Accounts-Web/root/html/ajax/services/mailing/dest_list.tt @ 1136

Last change on this file since 1136 was 1136, checked in by nanardon, 12 years ago
  • fix merge
File size: 746 bytes
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( '<img src="' _ c.uri_for('/static/icons',
18'user-trash.png') _ '" height="24" width="24" alt="" title="Retirer ' _ disp _ '">', {
19    update => 'destlist',
20    url    => c.uri_for('/ajax', 'services', 'mailing', 'mod_to', {
21        'act'  => 'remove_to',
22        'user' => u,
23    },)
24}, { entities => '' } ) %]
25</td>
26</tr>
27[% IF loop.last %]
28<table>
29[% END %]
30[% END %]
31</div>
Note: See TracBrowser for help on using the repository browser.