1 | <!-- $Id$ --> |
---|
2 | [% poll = c.model('Vote').results(voteid) %] |
---|
3 | |
---|
4 | <div id="poll_summary" class="box" style="clear: both;"> |
---|
5 | <div style="float: left; width: 70%;"> |
---|
6 | <p id="poll_label">[% poll.info('label') | html %]</p> |
---|
7 | [% IF poll.info('description') %] |
---|
8 | <p>[% poll.info('description') | html | html_line_break %]</p> |
---|
9 | [% END %] |
---|
10 | [% IF poll.info('procedure') %] |
---|
11 | <p>[% poll.info('procedure') | html | html_line_break %]</p> |
---|
12 | [% END %] |
---|
13 | <p>[% poll.info('choice_count') %] choix est/sont à faire |
---|
14 | [%- IF poll.info('choice_count') != poll.info('elected_count') -%] |
---|
15 | pour [% poll.info('elected_count') %] élu(s)[%- END -%].</p> |
---|
16 | [% IF poll.info('dstart') && poll.info('dend') %] |
---|
17 | <p>Scrutin ouvert du <b>[% poll.info('dstart') _ ' ' _ poll.info('hstart') | html %]</b> au |
---|
18 | <b>[% poll.info('dend') _ ' ' _ poll.info('hend') | html %]</b></p> |
---|
19 | [% END %] |
---|
20 | Ont voté: [% poll.signing_count %] / [% poll.voting_count %]<br> |
---|
21 | Bulletins: [% poll.ballot_count %] |
---|
22 | [% IF poll.signing_count != poll.ballot_count %] |
---|
23 | <p class="alert">Le nombre de bulletins et le nombre de personnes ayant voté divergent, |
---|
24 | suspicion de tricherie</p> |
---|
25 | [% END %] |
---|
26 | </div> |
---|
27 | [% FOREACH item = poll.choices %] |
---|
28 | [% IF loop.first %] |
---|
29 | <div style="float: right; width: 20%; top: 0px;" class="box"> |
---|
30 | <p>Bulletin:</p> |
---|
31 | <ol style="padding-left:15px; margin:5px;"> |
---|
32 | [% END %] |
---|
33 | <li>[% poll.choice(item).info.label | html %]</li> |
---|
34 | [% IF loop.last %] |
---|
35 | </ol> |
---|
36 | </div> |
---|
37 | [% END %] |
---|
38 | [% END %] |
---|
39 | <div style="clear: both;"></div> |
---|
40 | </div> |
---|
41 | |
---|