Changeset 229 for trunk/root/templates
- Timestamp:
- 04/21/09 01:43:15 (15 years ago)
- Location:
- trunk/root/templates
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/root/templates/admin/includes/poll_settings.tt
r227 r229 7 7 <form action="[% c.uri_for(poll.uid) %]" method="POST"> 8 8 9 Label:<input type="text" name="label" value="[% c.req.param('label') || poll.info('label') | html %]">9 Nom:<br><input type="text" name="label" value="[% c.req.param('label') || poll.info('label') | html %]"> 10 10 <br> 11 11 Description:<br> 12 12 <textarea name="description" cols="60" rows="4">[% c.req.param('description') || poll.info('description') | html %]</textarea> 13 <br> 14 RÚglement:<br> 15 <textarea name="procedure" cols="60" rows="4">[% c.req.param('procedure') || poll.info('procedure') | html %]</textarea> 13 16 <br> 14 17 <hr> -
trunk/root/templates/ballot/default.tt
r227 r229 40 40 [% ELSE %] 41 41 42 43 42 [% INCLUDE 'includes/ballot_form.tt' %] 44 43 -
trunk/root/templates/includes/ballot_form.tt
r227 r229 1 1 <!-- $Id$ --> 2 2 [% poll = c.model('Vote').poll(voteid) %] 3 4 [% IF poll.info('procedure') %] 5 [% poll.info('procedure') | html %] 6 <hr> 7 [% ELSIF poll.info('description') %] 8 [% poll.info('description') | html %] 9 <hr> 10 [% END %] 3 11 4 12 <!-- $Id$ --> … … 9 17 [% choice.info.label | html %]<br> 10 18 [% END %] 19 20 <p>Vous devez faire [% poll.info('choice_count') %] choix 21 [%- IF poll.info('choice_count') != poll.info('elected_count') -%] 22 pour [% poll.info('elected_count') %] élu(s)[%- END -%].</p> 11 23 12 24 [% count = 0 %] … … 27 39 [% count = 0 %] 28 40 [% WHILE count < poll.info('free_choice') %] 41 [% "<p>Choi(x) libre(s)</p>" IF count == 0 %] 29 42 <input type="text" name="fsbal" value="[% fsbal.$count %]"><br> 30 43 [% count = count + 1 %] -
trunk/root/templates/includes/poll.tt
r227 r229 5 5 <div style="float: left; width: 70%;"> 6 6 <p id="poll_label">[% poll.info('label') | html %]</p> 7 [% IF poll.info('description') %] 7 8 <p>[% poll.info('description') | html | html_line_break %]</p> 9 [% END %] 10 [% IF poll.info('procedure') %] 11 <p>[% poll.info('procedure') | html | html_line_break %]</p> 12 [% END %] 13 <p>[% poll.info('choice_count') %] choix est/sont à faire 14 [%- IF poll.info('choice_count') != poll.info('elected_count') -%] 15 pour [% poll.info('elected_count') %] élu(s)[%- END -%].</p> 8 16 [% IF poll.info('dstart') && poll.info('dend') %] 9 17 <p>Scrutin ouvert du <b>[% poll.info('dstart') _ ' ' _ poll.info('hstart') | html %]</b> au
Note: See TracChangeset
for help on using the changeset viewer.