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
RevLine 
[167]1<!-- $Id$ -->
2[% poll = c.model('Vote').poll(voteid) %]
3
4<div id="admin_menu">
[226]5<a href="[% c.uri_for('/admin', poll.uid) %]">[% poll.info.label | html %]</a>
[253]6[% IF poll.status == 'BEFORE' %]
[267]7:: <a href="[% c.uri_for('/admin', poll.uid, 'ballot') %]">Bulletins</a>
[253]8[% END %]
[226]9:: <a href="[% c.uri_for('/admin', poll.uid, 'voting') %]">Electeurs</a>
[169]10[% IF poll.status == 'BEFORE' %]
[267]11:: <a href="[% c.uri_for('/admin', poll.uid, 'date') %]">Dates</a>
[169]12[% END %]
[266]13[% IF poll.status == 'AFTER' %]
14:: <a href="[% c.uri_for('/admin', poll.uid, 'validate') %]">Validation</a>
15[% END %]
[269]16[% IF poll.status != 'RUNNING' %]
17:: <a href="[% c.uri_for('/admin', poll.uid, 'delete') %]">Effacer</a>
18[% END %]
[167]19</div>
Note: See TracBrowser for help on using the repository browser.