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

Last change on this file was 436, checked in by misc, 14 years ago
  • unify string to avoid duplicate
  • Property svn:keywords set to Id Rev
File size: 587 bytes
Line 
1<!-- $Id$ -->
2[% poll = c.model('Vote').poll(voteid) %]
3
4<div style="text-align: right;"><a href="[% c.uri_for( '/admin', poll.uid ) %]">[% l('Administrate') %]</a></div>
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>[% l('This poll is not yet open') %]</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.