source: trunk/root/templates/default.tt @ 285

Last change on this file since 285 was 285, checked in by nanardon, 15 years ago
  • end translation (#4)
  • Property svn:keywords set to Id Rev
File size: 913 bytes
RevLine 
[227]1<!-- $Id$ -->
[3]2[% vote = c.model('Vote') %]
3
[251]4<div style="float: right; width: 33%;" class="reminder">
5<form action="[% c.uri_for %]" method="POST">
6[% IF novoting %]
[285]7<p class="warning">[% l('You own no poll') %] [% novoting | html %].</p>
[15]8[% END %]
[251]9[% IF sendvoting %]
[280]10[% l('A mail has been sent to [_1]', sendvoting) %]
[38]11[% END %]
[15]12
[280]13<p>[% l('Enter your email address to receive a list of your polls') %]</p>
[251]14<input type="text" name="mailvoting" class="reminder">
15<input type="submit" class="reminder" value=">">
16</form>
[38]17</div>
[259]18
19[% FOREACH p = c.session.mypoll.keys %]
20[% poll = vote.poll(p) %]
21[% IF loop.first %]
[280]22<p>[% l('My polls:') %]</p>
[259]23<ul>
24[% END %]
25<li><a href="[% c.uri_for('/vote', poll.uid) %]">[% poll.info.label | html %]</a>
26[% IF c.session.mypoll.$p %]
[280]27    <a href="[% c.uri_for('/admin', poll.uid) %]"><i>[% l('administrate') %]</i></a>
[259]28[% END %]
29</li>
30[% IF loop.last %]
31</ul>
32[% END %]
33
34[% END %]
Note: See TracBrowser for help on using the repository browser.