source: trunk/root/templates/includes/signing_list.tt @ 226

Last change on this file since 226 was 162, checked in by nanardon, 15 years ago
  • get back voting list during vote, but hide who has already voted
  • Property svn:keywords set to Id
File size: 688 bytes
Line 
1[% USE Mail %]
2
3[% poll = c.model('Vote').poll(voteid) %]
4[% poll_status = poll.status %]
5
6[% FOREACH id = poll.voting_keys() %]
7[% voting = poll.voting(id).info %]
8[% IF loop.first %]
9<div id="voting_list" class="box">
10<p>Liste des votants:</p>
11<table border="1">
12<tr><th>Numéro</th><th>Electeur</th>
13[% IF poll_status != 'RUNNING' %]<th>Emargement</th>[% END %]
14</tr>
15[% END %]
16<tr>
17<td>[% loop.count %]</td>
18<td>
19    [% voting.label | html %]
20    [% "&lt;" IF voting.label %][% voting.mail | mail | html %][% "&gt;" IF voting.label %]
21</td>
22[% IF poll_status != 'RUNNING' %]<td>[% "A voté" IF voting.date %]</td>[% END %]
23</tr>
24[% IF loop.last %]
25</table>
26</div>
27[% END %]
28[% END %]
Note: See TracBrowser for help on using the repository browser.