Changeset 162 for trunk/root
- Timestamp:
- 04/06/09 00:22:17 (15 years ago)
- Location:
- trunk/root/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/root/templates/includes/signing_list.tt
r111 r162 1 1 [% USE Mail %] 2 2 3 [% vote = c.model('Vote') %] 3 [% poll = c.model('Vote').poll(voteid) %] 4 [% poll_status = poll.status %] 4 5 5 [% FOREACH id = vote.vote_voting(voteid) %]6 [% voting = vote.voting_info(id)%]6 [% FOREACH id = poll.voting_keys() %] 7 [% voting = poll.voting(id).info %] 7 8 [% IF loop.first %] 8 9 <div id="voting_list" class="box"> 9 10 <p>Liste des votants:</p> 10 11 <table border="1"> 11 <tr><th>Numéro</th><th>Electeur</th><th>Emargement</th></tr> 12 <tr><th>Numéro</th><th>Electeur</th> 13 [% IF poll_status != 'RUNNING' %]<th>Emargement</th>[% END %] 14 </tr> 12 15 [% END %] 13 16 <tr> … … 17 20 [% "<" IF voting.label %][% voting.mail | mail | html %][% ">" IF voting.label %] 18 21 </td> 19 <td>[% "A voté" IF voting.date %]</td> 22 [% IF poll_status != 'RUNNING' %]<td>[% "A voté" IF voting.date %]</td>[% END %] 20 23 </tr> 21 24 [% IF loop.last %] -
trunk/root/templates/vote/default.tt
r112 r162 2 2 3 3 [% vote = c.model('Vote') %] 4 [% poll = c.model('Vote').poll(voteid) %] 4 5 5 6 [% INCLUDE 'includes/poll.tt' %] 6 7 7 [% SWITCH vote.vote_status(voteid) %] 8 [% SWITCH poll.status() %] 9 8 10 [% CASE 'RUNNING' %] 9 11 [% INCLUDE 'includes/poll_running.tt' %] 12 [% INCLUDE 'includes/signing_list.tt' %] 13 10 14 [% CASE 'BEFORE' %] 11 15 <div class="page_box"> … … 13 17 </div> 14 18 [% INCLUDE 'includes/signing_list.tt' %] 19 15 20 [% CASE 'AFTER' %] 16 21 [% INCLUDE 'includes/poll_results.tt' %] 17 22 [% INCLUDE 'includes/signing_list.tt' %] 23 18 24 [% END %] 19 25 20
Note: See TracChangeset
for help on using the changeset viewer.