Changeset 385
- Timestamp:
- 10/06/10 16:33:54 (14 years ago)
- Location:
- trunk/root/templates
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/root/templates/admin/ballot.tt
r323 r385 9 9 10 10 [% IF ! poll.choices_keys.size %] 11 <p class="alert">[% l('No choices are configured') %]</p>11 <p class="alert">[% l('No choices were made') %]</p> 12 12 [% ELSE %] 13 13 [% FOREACH choicek = poll.choices_keys %] … … 16 16 [% loop.count %] - [% choice.info.label | html %] 17 17 <input type="hidden" name="delch" value="[% choicek %]"> 18 <input type="submit" name="del" value="[% l(' delete') %]">18 <input type="submit" name="del" value="[% l('Delete') %]"> 19 19 </form> 20 20 <br> … … 29 29 30 30 <div style="float: right; width: 30%" class="ballot"> 31 <p>[% l('Preview ofballot') %]</p>31 <p>[% l('Preview ballot') %]</p> 32 32 [% INCLUDE 'includes/ballot_form.tt' b_form_url = c.uri_for(poll.uid, 'ballot') %] 33 33 </div> -
trunk/root/templates/admin/includes/poll_settings.tt
r375 r385 47 47 [% l('You can choose a passphrase to protect the key:') %]<br> 48 48 <input type="password" name="passphrase"><br> 49 <input type="submit" name="encrypted" value="[% l(' encrypt thepoll') %]">49 <input type="submit" name="encrypted" value="[% l('Encrypt poll') %]"> 50 50 </form> 51 51 [% END %] -
trunk/root/templates/admin/voters.tt
r379 r385 6 6 [% IF poll.status() != 'AFTER' %] 7 7 <div style="float: left; width: 30%;" class="box"> 8 <p>[% l(' add a vote') %]</p>8 <p>[% l('Add a vote') %]</p> 9 9 <form action="[% c.uri_for(poll.uid, 'voters') %]" method="POST"> 10 10 [% l('Name:') _ ' ' %]<input type="text" name="id"><br> … … 16 16 <p> 17 17 <a href="[% c.uri_for(poll.uid, 'voters', 'import') %]"> 18 Import voters list...18 Import the list of voters... 19 19 </a> 20 20 </p> 21 21 22 22 [% IF poll.status == 'BEFORE' %] 23 <input type="checkbox" name="delete">[% l(' delete the list of voters') %]<br>23 <input type="checkbox" name="delete">[% l('Delete the list of voters') %]<br> 24 24 [% END %] 25 25 <input type="submit" value="[% l('Add') %]"> … … 33 33 </form> 34 34 [% ELSE %] 35 [% l('Poll date must be set upbefore announcing poll to voters') %]35 [% l('Poll date must be set before announcing poll to voters') %] 36 36 [% END %] 37 37 </div> -
trunk/root/templates/includes/ballot_settings.tt
r319 r385 8 8 [% INCLUDE $ballotsettingstt %] 9 9 10 <input type="submit" name="pollballot" value="[% l(' save') %]">10 <input type="submit" name="pollballot" value="[% l('Save') %]"> 11 11 </form> 12 12 -
trunk/root/templates/pollinc/binary/ballot.tt
r332 r385 2 2 [% poll = c.model('Vote').poll(voteid) %] 3 3 4 <p>[% l('You need to do') _ ' ' _ poll.info('choice_count') _ ' ' _ l('choices') %]4 <p>[% l('You need to select') _ ' ' _ poll.info('choice_count') _ ' ' _ l('choices') %] 5 5 [%- IF poll.info('choice_count') != poll.info('elected_count') -%] 6 [% l('for') _ ' ' _ poll.info('elected_count') _ ' ' _ l('elected') %] [%- END -%] .</p>6 [% l('for') _ ' ' _ poll.info('elected_count') _ ' ' _ l('elected') %] [%- END -%]</p> 7 7 8 8 [% FOREACH key = poll.choices() %] -
trunk/root/templates/pollinc/binary/ballot_settings.tt
r323 r385 4 4 <table border=1> 5 5 <tr> 6 <td>[% l('Number of possible choices :') %]</td>6 <td>[% l('Number of possible choices') %]</td> 7 7 <td><input type="text" size="3" name="choice_count" value="[% c.req.param('choice_count') || poll.info('choice_count') | html %]"></td> 8 8 </tr>
Note: See TracChangeset
for help on using the changeset viewer.