Last change
on this file since 226 was
226,
checked in by nanardon, 15 years ago
|
- prefer poll uid in url instead db id (if available)
|
-
Property svn:keywords set to
Id
|
File size:
307 bytes
|
Line | |
---|
1 | [% vote = c.model('Vote') %] |
---|
2 | [% poll = c.model('Vote').poll(voteid) %] |
---|
3 | |
---|
4 | [% voteids = vote.list_running_vote %] |
---|
5 | |
---|
6 | [% IF voteids.size %] |
---|
7 | |
---|
8 | [% FOREACH voteid = voteids %] |
---|
9 | <a href="[% c.uri_for('/ballot', poll.uid) %]">[% poll.info('label') | html %]</a> |
---|
10 | <br> |
---|
11 | [% END %] |
---|
12 | |
---|
13 | [% ELSE %] |
---|
14 | Pas de vote en cours |
---|
15 | [% END %] |
---|
Note: See
TracBrowser
for help on using the repository browser.