source: trunk/root/templates/vote/default.tt @ 162

Last change on this file since 162 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: 587 bytes
Line 
1<div style="text-align: right;"><a href="[% c.uri_for( '/admin', voteid ) %]">Administrer</a></div>
2
3[% vote = c.model('Vote') %]
4[% poll = c.model('Vote').poll(voteid) %]
5
6[% INCLUDE 'includes/poll.tt' %]
7
8[% SWITCH poll.status() %]
9
10[% CASE 'RUNNING' %]
11[% INCLUDE 'includes/poll_running.tt' %]
12[% INCLUDE 'includes/signing_list.tt' %]
13
14[% CASE 'BEFORE' %]
15<div class="page_box">
16<p>Ce scrutin n'est pas encore ouvert.</p>
17</div>
18[% INCLUDE 'includes/signing_list.tt' %]
19
20[% CASE 'AFTER' %]
21[% INCLUDE 'includes/poll_results.tt' %]
22[% INCLUDE 'includes/signing_list.tt' %]
23
24[% END %]
25
Note: See TracBrowser for help on using the repository browser.