source: trunk/root/templates/includes/admin_menu.tt @ 267

Last change on this file since 267 was 267, checked in by nanardon, 15 years ago
  • add some options to poll
  • Property svn:keywords set to Id Rev
File size: 582 bytes
Line 
1<!-- $Id$ -->
2[% poll = c.model('Vote').poll(voteid) %]
3
4<div id="admin_menu">
5<a href="[% c.uri_for('/admin', poll.uid) %]">[% poll.info.label | html %]</a>
6[% IF poll.status == 'BEFORE' %]
7:: <a href="[% c.uri_for('/admin', poll.uid, 'ballot') %]">Bulletins</a>
8[% END %]
9:: <a href="[% c.uri_for('/admin', poll.uid, 'voting') %]">Electeurs</a>
10[% IF poll.status == 'BEFORE' %]
11:: <a href="[% c.uri_for('/admin', poll.uid, 'date') %]">Dates</a>
12[% END %]
13[% IF poll.status == 'AFTER' %]
14:: <a href="[% c.uri_for('/admin', poll.uid, 'validate') %]">Validation</a>
15[% END %]
16</div>
Note: See TracBrowser for help on using the repository browser.