Changeset 205 for trunk/root
- Timestamp:
- 04/15/09 18:47:31 (15 years ago)
- Location:
- trunk/root/templates
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/root/templates/admin/includes/poll_settings.tt
r190 r205 4 4 <DIV ID="testdiv1" STYLE="position:absolute;visibility:hidden;background-color:white;layer-background-color:white;"></DIV> 5 5 6 [% IF vote.vote_status(voteid)== 'BEFORE' %]6 [% IF poll.status == 'BEFORE' %] 7 7 <div class="box" style="float: left; width: 55%;"> 8 8 <form action="[% c.uri_for(voteid) %]" method="POST"> -
trunk/root/templates/admin/voting.tt
r168 r205 1 1 [% vote = c.model('Vote') %] 2 [% poll = c.model('Vote').poll(voteid) %] 2 3 3 4 [% INCLUDE 'includes/admin_menu.tt' %] 4 5 5 [% IF vote.vote_status(voteid) != 'AFTER' %]6 [% IF poll.status() != 'AFTER' %] 6 7 <div style="float: left; width: 30%;" class="box"> 7 8 <p>Ajouter un votant</p> … … 16 17 <form method="POST" ENCTYPE="multipart/form-data" action="[% c.uri_for(voteid, 'voting') %]"> 17 18 <input type="file" name="votinglist"><br> 18 [% IF vote.vote_status(voteid)== 'BEFORE' %]19 [% IF poll.status == 'BEFORE' %] 19 20 <input type="checkbox" name="delete">Effacer la liste des votants<br> 20 21 [% END %] … … 48 49 49 50 [% IF NOT voting.date %] 50 [% IF vote.vote_status(voteid)!= 'AFTER' %]51 [% IF poll.status != 'AFTER' %] 51 52 <form action="[% c.uri_for(voteid, 'voting') %]" method="POST"> 52 53 <input type="hidden" name="delvoting" value="[% voting.vkey %]"> … … 59 60 [% IF NOT voting.date %] 60 61 <td> 61 [% IF vote.vote_status(voteid)!= 'AFTER' %]62 [% IF poll.status != 'AFTER' %] 62 63 <input type="submit" name="delete" value="delete"> 63 64 [% END %] -
trunk/root/templates/ballot/closed.tt
r47 r205 2 2 3 3 [% vote = c.model('Vote') %] 4 [% poll = c.model('Vote').poll(voteid) %] 4 5 5 6 <div id="ballot"> 6 [% IF vote.vote_status(voteid)== 'BEFORE' %]7 [% IF poll.status == 'BEFORE' %] 7 8 Ce Vote n'est pas encore ouvert 8 [% ELSIF vote.vote_status(voteid)== 'AFTER' %]9 [% ELSIF poll.status == 'AFTER' %] 9 10 Ce vote est terminé, les résultats sont disponibles 10 11 <a href="[% c.uri_for('/vote', voteid) %]">ici</a>.
Note: See TracChangeset
for help on using the changeset viewer.