Last change
on this file since 109 was
68,
checked in by delcambre, 15 years ago
|
- Update graphic first page
|
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Line | |
---|
1 | |
---|
2 | [% vote = c.model('Vote') %] |
---|
3 | |
---|
4 | |
---|
5 | [% FOREACH id = vote.list_running_vote %] |
---|
6 | [% IF loop.first %] |
---|
7 | <div id="global_poll"> |
---|
8 | <div id="open_poll"> |
---|
9 | <h1>Vote en cours</h1> |
---|
10 | <table> |
---|
11 | <tbody> |
---|
12 | [% END %] |
---|
13 | <tr> |
---|
14 | <td><lu><li><a href="[% c.uri_for( '/vote', id ) %]">[% vote.vote_info(id).label | html %]</a></lu></td></td> |
---|
15 | <td>><a href="[% c.uri_for( '/ballot', id ) %]"> Voter</a></td> |
---|
16 | </tr> |
---|
17 | [% IF loop.last %] |
---|
18 | </tbody> |
---|
19 | </table> |
---|
20 | </div> |
---|
21 | [% END %] |
---|
22 | [% END %] |
---|
23 | |
---|
24 | [% FOREACH id = vote.list_comming_vote %] |
---|
25 | [% IF loop.first %] |
---|
26 | <div id="comming_poll"> |
---|
27 | <h1>Vote à venir</h1> |
---|
28 | <table> |
---|
29 | <tbody> |
---|
30 | [% END %] |
---|
31 | <tr> |
---|
32 | <td><lu><li><a href="[% c.uri_for( 'vote', id ) %]">[% vote.vote_info(id).label | html %]</a></li></lu></td> |
---|
33 | <td>><a href="[% c.uri_for( '/admin', id ) %]"> Administrer</a></td> |
---|
34 | </tr> |
---|
35 | [% IF loop.last %] |
---|
36 | </tbody> |
---|
37 | </table> |
---|
38 | </div> |
---|
39 | [% END %] |
---|
40 | [% END %] |
---|
41 | |
---|
42 | |
---|
43 | [% FOREACH id = vote.list_closed_vote %] |
---|
44 | [% IF loop.first %] |
---|
45 | <div id="closed_poll"> |
---|
46 | <h1>Vote Fermé</h1> |
---|
47 | <table> |
---|
48 | <tbody> |
---|
49 | [% END %] |
---|
50 | <tr> |
---|
51 | <td><lu><li><a href="[% c.uri_for( 'vote', id ) %]">[% vote.vote_info(id).label | html %]</a></lu></td></td> |
---|
52 | </tr> |
---|
53 | [% IF loop.last %] |
---|
54 | </tbody> |
---|
55 | </table> |
---|
56 | </div> |
---|
57 | </div> |
---|
58 | [% END %] |
---|
59 | [% END %] |
---|
Note: See
TracBrowser
for help on using the repository browser.