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

Last change on this file since 269 was 269, checked in by nanardon, 15 years ago
  • allow to delete ballot after poll (then keeping only results in DB)
  • Property svn:keywords set to Id Rev
File size: 697 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[% IF poll.status != 'RUNNING' %]
17:: <a href="[% c.uri_for('/admin', poll.uid, 'delete') %]">Effacer</a>
18[% END %]
19</div>
Note: See TracBrowser for help on using the repository browser.