Changeset 323 for trunk/root
- Timestamp:
- 10/03/10 22:53:33 (14 years ago)
- Location:
- trunk/root
- Files:
-
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/root/mail/ballot_confirm.tt
r321 r323 1 1 [% poll = c.model('Vote').poll(voteid) %] 2 [% l('You just particiapted tothe poll:') %]2 [% l('You have just particiapted in the poll:') %] 3 3 4 4 -------- … … 7 7 8 8 [% IF NOT poll.info.no_mail_ballot_id %] 9 [% l('Your ballot is identified byID') %]:9 [% l('Your ballot ID') %]: 10 10 [% ballotid %] 11 11 [% END %] 12 12 13 [% l('Results will be avail lable here') %]:13 [% l('Results will be available here') %]: 14 14 [% c.uri_for('/vote', poll.uid) %] 15 15 -
trunk/root/mail/poll_reminder_voting.tt
r321 r323 2 2 [%- vote = c.model('Vote') -%] 3 3 4 [% l('You ask for a reminder about poll you're participating') %]4 [% l('You\'ve asked for a reminder about the poll(s) you're participating in') %] 5 5 6 6 7 7 [%- FOREACH p = polls_voting -%] 8 8 [% IF loop.first %] 9 [% l('You are list as voting onpolls') %]:9 [% l('You are listed as a voter on these polls') %]: 10 10 [% END %] 11 11 [%- poll = vote.poll(p.poll) -%] … … 18 18 [%- FOREACH p = polls_owner -%] 19 19 [% IF loop.first %] 20 [% l('You are administrator for these poll') %]:20 [% l('You are the administrator for these poll') %]: 21 21 [% END %] 22 22 [%- poll = vote.poll(p.id) -%] -
trunk/root/mail/poll_request.tt
r321 r323 1 [% l('You asked the creation ofa new poll') %]:1 [% l('You\'ve requested to create a new poll') %]: 2 2 [% label %] 3 3 -
trunk/root/mail/voting_passwd.tt
r321 r323 1 1 [% poll = c.model('Vote').poll(voteid) %] 2 [% l('You are invited to participate tothis poll') %]2 [% l('You are invited to participate in this poll') %] 3 3 4 4 [% poll.info.label %] … … 10 10 11 11 [% IF poll.info.dstart && poll.info.dstart -%] 12 [% l('You will be able to submit your choice between') %] [% poll.info.dstart %] [% poll.info.hstart %]13 [% l(' and') %] [% poll.info.dend %] [% poll.info.hend %]12 [% l('You will be able to submit your vote from') %] [% poll.info.dstart %] [% poll.info.hstart %] 13 [% l('to') %] [% poll.info.dend %] [% poll.info.hend %] 14 14 [%- END %] 15 15 16 [% l('Keep this information preciously, they won\'t be retransmitagain.') %]16 [% l('Keep this information in a safe place, it won\'t be sent to you again.') %] 17 17 18 18 [% l('About this poll') %]: -
trunk/root/templates/admin/ballot.tt
r319 r323 9 9 10 10 [% IF ! poll.choices_keys.size %] 11 <p class="alert">[% l('No choice are configured') %]</p>11 <p class="alert">[% l('No choices are configured') %]</p> 12 12 [% ELSE %] 13 13 [% FOREACH choicek = poll.choices_keys %] -
trunk/root/templates/admin/delete.tt
r296 r323 8 8 <p>[% l('Delete ballots') %]</p> 9 9 10 <p>[% l('This will delete sensi ble data from database, results will be computed11 definitively. Notice voting people will not be able to checkballots anymore')10 <p>[% l('This will delete sensitive data from database and results will be finally 11 computed. Note that voters won\'t be able to check their ballots anymore') 12 12 %]</p> 13 13 … … 22 22 <p>[% l('Delete this poll') %]</p> 23 23 24 <p>[% l('This will definitely delete all data about this poll (configuration,25 voting list, ballots.') %]</p>24 <p>[% l('This will completely delete all data about this poll (configuration, 25 list of voters, ballots.') %]</p> 26 26 27 27 <form action="[% c.uri_for(poll.uid, 'delete') %]" method="post"> -
trunk/root/templates/admin/delete_poll_confirm.tt
r282 r323 9 9 10 10 <form action="[% c.uri_for(poll.uid, 'delete') %]" method="post"> 11 <input type="submit" value="[% l('Yes, de stroythis poll') %]" name="delete_poll_confirm">11 <input type="submit" value="[% l('Yes, delete this poll') %]" name="delete_poll_confirm"> 12 12 </form> -
trunk/root/templates/admin/denied.tt
r282 r323 2 2 3 3 <div class="alert"> 4 <p>[% l('Cannot modify a started or finishpoll') %]</p>4 <p>[% l('Cannot modify a running or a finished poll') %]</p> 5 5 </div> -
trunk/root/templates/admin/includes/poll_extra_settings.tt
r282 r323 2 2 3 3 <ul> 4 <li>[% l('Do not send receipt bymail') %]4 <li>[% l('Don\'t send receipt by email') %] 5 5 <span style="float:right"><input type="checkbox" name="no_mail_confirm_vote" 6 6 [% "checked" IF pollsettings.no_mail_confirm_vote %]></span> 7 7 [% IF NOT pollsettings.no_mail_confirm_vote %] 8 8 <ul> 9 <li style="clear: both">[% l(' Mail includeballot id') %]9 <li style="clear: both">[% l('Email includes ballot id') %] 10 10 <span style="float:right"><input type="checkbox" name="no_mail_ballot_id" 11 11 [% "checked" IF pollsettings.no_mail_ballot_id %]></span> … … 14 14 [% END %] 15 15 </li> 16 <li style="clear: both">[% l('Do not giveballot id after poll') %]16 <li style="clear: both">[% l('Don\'t show ballot id after poll') %] 17 17 <span style="float:right"><input type="checkbox" name="no_ballot_id_voting" 18 18 [% "checked" IF pollsettings.no_ballot_id_voting %]></span> -
trunk/root/templates/admin/includes/poll_settings.tt
r296 r323 41 41 <hr> 42 42 <form action="[% c.uri_for(poll.uid) %]" method="POST"> 43 <input type="submit" name="notcrypted" value="[% l('Do notcrypt ballot') %]">43 <input type="submit" name="notcrypted" value="[% l('Don\'t encrypt ballot') %]"> 44 44 </form> 45 45 [% ELSE %] … … 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(' crypt the poll') %]">49 <input type="submit" name="encrypted" value="[% l('encrypt the poll') %]"> 50 50 </form> 51 51 [% END %] -
trunk/root/templates/admin/validate.tt
r319 r323 10 10 <select name="ballotvalue"> 11 11 <option value="s:needvalid"[% " selected" IF c.req.param('ballotvalue') == 12 's:needvalid' %]>[% l('need ingvalidation') %]</option>12 's:needvalid' %]>[% l('need validation') %]</option> 13 13 <option value="s:invalid"[% " selected" IF c.req.param('ballotvalue') == 14 14 's:invalid' %]>[% l('invalid') %]</option> … … 54 54 '0' %]>[% l('is valid') %]<br> 55 55 <input type="radio" name="[% bid %]" value="invalid"[% " checked" IF invalid == 56 '1' %]>[% l('is not valid') %]<br>56 '1' %]>[% l('isn\'t valid') %]<br> 57 57 </td> 58 58 </tr> … … 80 80 <p>[% l('map ballot value') %]</p> 81 81 <table border="1"> 82 <tr><th>[% l('input value') %]</th><th>[% l('must be see as') %]</th></tr>82 <tr><th>[% l('input value') %]</th><th>[% l('must be seen as') %]</th></tr> 83 83 [% END %] 84 84 <tr> -
trunk/root/templates/admin/voters.tt
r321 r323 6 6 [% IF poll.status() != 'AFTER' %] 7 7 <div style="float: left; width: 30%;" class="box"> 8 <p>[% l('add a vot ing') %]</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> 11 [% l(' Mail:') _ ' ' %]<input type="text" name="mail"><br>11 [% l('Email address:') _ ' ' %]<input type="text" name="mail"><br> 12 12 <input type="submit" value="[% l('Add') %]"> 13 13 </form> … … 21 21 22 22 [% IF poll.status == 'BEFORE' %] 23 <input type="checkbox" name="delete">[% l('delete voters list') %]<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') %]"> … … 28 28 <p>[% l('Send password to voters') %]</p> 29 29 <form action="[% c.uri_for(poll.uid, 'voters') %]" method="POST"> 30 [% l(' Mail language') %]: [% INCLUDE 'includes/locale_select.tt' %]<br>30 [% l('Email language') %]: [% INCLUDE 'includes/locale_select.tt' %]<br> 31 31 <input type="submit" name="mailpasswd" value="[% l('send password') %]"> 32 32 </form> … … 38 38 39 39 [% IF NOT poll.voting_count %] 40 <p class="alert">[% l('No subscribed voter ') %]</p>40 <p class="alert">[% l('No subscribed voters') %]</p> 41 41 [% ELSE %] 42 42 -
trunk/root/templates/admin/votersimport.tt
r319 r323 46 46 [% IF import_handle.can_authenticate %] 47 47 [% l('Use external authentication') %]<input type="checkbox" name="ext_auth"><br> 48 [% l('Enter here a comment to explain the password to use') %]<br>48 [% l('Enter a hint for the password here') %]<br> 49 49 <textarea rows="3" cols="50" name="desc"></textarea><br> 50 50 [% END %] -
trunk/root/templates/ballot/closed.tt
r296 r323 8 8 Ce Vote n'est pas encore ouvert 9 9 [% ELSIF poll.status == 'AFTER' %] 10 [% l('This poll is over, results are available') %]10 [% l('This poll is over, results are now available') %] 11 11 <a href="[% c.uri_for('/vote', poll.uid) %]">[% l('here') %]</a>. 12 12 [% END %] -
trunk/root/templates/ballot/default.tt
r283 r323 40 40 <hr> 41 41 42 <p class="warning">[% l('Your vote will be definitiveafter validation') %]</p>42 <p class="warning">[% l('Your vote will be final after validation') %]</p> 43 43 <p><input type="submit" name="confirm" value="[% l('Valid') %]"> 44 44 <input type="submit" name="Modify" value="[% l('modify my vote') %]"></p> … … 53 53 [% INCLUDE infoip %] 54 54 55 <p>[% l('Your vote will be registered only after confirm') %]</p>55 <p>[% l('Your vote will be registered only after validation') %]</p> 56 56 [% END %] 57 57 </div> -
trunk/root/templates/ballot/done.tt
r296 r323 5 5 6 6 <div id="ballot" class="page_box"> 7 <p>[% l('You just submitted your ballot') %]7 <p>[% l('You\'ve just submitted your ballot') %] 8 8 [% IF NOT poll.info.no_ballot_id_voting %] 9 9 , [% l('your ballot id is:') _ ' ' %]<b>[% ballotid %]</b> -
trunk/root/templates/ballot/index.tt
r227 r323 13 13 14 14 [% ELSE %] 15 Pas de vote en cours 15 [% l('No polls currently running') %] 16 16 [% END %] -
trunk/root/templates/ballot/signed.tt
r296 r323 3 3 4 4 <div id="vote_done"> 5 <p>[% mail | html %][% l('already participated tothis poll the [_1]', signed_date) | html %]</p>5 <p>[% mail | html %][% l('already participated in this poll the [_1]', signed_date) | html %]</p> 6 6 <p>[% l('Results will be available') _ ' ' %] 7 7 <a href="[% c.uri_for('/vote', c.model('Vote').poll(voteid).uid) %]">[% l('here') %]</a>.</p> -
trunk/root/templates/default.tt
r285 r323 5 5 <form action="[% c.uri_for %]" method="POST"> 6 6 [% IF novoting %] 7 <p class="warning">[% l('You own no poll') %] [% novoting | html %].</p>7 <p class="warning">[% l('You don\'t own any polls') %] [% novoting | html %].</p> 8 8 [% END %] 9 9 [% IF sendvoting %] 10 [% l('A 10 [% l('An email has been sent to [_1]', sendvoting) %] 11 11 [% END %] 12 12 -
trunk/root/templates/importv/ldap.tt
r318 r323 5 5 [% l('UID attributes:') | html %] 6 6 <input type="text" name="uid" value="[% c.req.param('uid') | html %]"><br> 7 [% l(' Mail attributes:') | html %]7 [% l('Email attributes:') | html %] 8 8 <input type="text" name="mail" value="[% c.req.param('mail') | html %]"><br> 9 9 [% l('Display Name attributes:') | html %] -
trunk/root/templates/includes/poll.tt
r291 r323 20 20 [% END %] 21 21 [% l('Participated') _ ' ' %] [% poll.signing_count %] / [% poll.voting_count %]<br> 22 [% l('Ballot :') _ ' ' %] [% poll.ballot_count %]22 [% l('Ballots:') _ ' ' %] [% poll.ballot_count %] 23 23 [% IF poll.signing_count != poll.ballot_count %] 24 24 <p class="alert"> 25 [% l('The number of ballot and people having voted differ') %]25 [% l('The number of ballots doesn\'t match the number of voters') %] 26 26 </p> 27 27 [% END %] … … 30 30 [% IF loop.first %] 31 31 <div style="float: right; width: 20%; top: 0px;" class="box"> 32 <p>[% l('Ballot :') %]</p>32 <p>[% l('Ballots:') %]</p> 33 33 <ol style="padding-left:15px; margin:5px;"> 34 34 [% END %] -
trunk/root/templates/includes/poll_results.tt
r319 r323 6 6 <div id="results" class="box"> 7 7 <div style="float: right"> 8 <p><a href="[% c.uri_for('/vote', poll.uid, 'results.pdf') %]">R ésultat en PDF</a></p>9 <p><a href="[% c.uri_for('/vote', poll.uid, 'report.pdf') %]">R apport en PDF</a></p>8 <p><a href="[% c.uri_for('/vote', poll.uid, 'results.pdf') %]">Result in PDF</a></p> 9 <p><a href="[% c.uri_for('/vote', poll.uid, 'report.pdf') %]">Report in PDF</a></p> 10 10 </div> 11 11 [% IF poll.list_ballot_needvalid.size %] 12 12 <p>[% l('Temporary results') %]</p> 13 <p class="alert">[% l('Poll administrator must validate some ballot ') %]</p>13 <p class="alert">[% l('Poll administrator must validate some ballots') %]</p> 14 14 [% ELSE %] 15 15 <p>[% l('Results:') %]</p> 16 16 [% END %] 17 <p>[% l('Number of choice to retain:') _ ' ' %][% poll.info('choice_count') %]</p>17 <p>[% l('Number of choices to retain:') _ ' ' %][% poll.info('choice_count') %]</p> 18 18 19 19 <table border="1"> … … 28 28 <td></td></tr> 29 29 <tr> 30 <td>[% l('Number of empty ballot ') %]</td>30 <td>[% l('Number of empty ballots') %]</td> 31 31 <td>[% poll.empty_ballot_count %]</td> 32 32 <td>[% poll.empty_ballot_count / poll.ballot_count * 100 | format('%.2f %%') IF poll.ballot_count %]</td> 33 33 </tr> 34 34 <tr> 35 <td>[% l('Number of nul ballot') %]</td>35 <td>[% l('Number of null ballots') %]</td> 36 36 <td>[% poll.invalid_ballot_count %]</td> 37 37 <td>[% poll.invalid_ballot_count / poll.ballots_count * 100 | format('%.2f %%') IF poll.ballots_count %]</td> … … 45 45 [% IF loop.first %] 46 46 <div id="ballot_list" class="box"> 47 <p>[% l('Ballot list:') %]</p>47 <p>[% l('Ballots list:') %]</p> 48 48 <table border="1"> 49 49 <tr><th>[% l('number') %]</th><th>[% l('Id') %]</th> … … 74 74 [% invalid = '#' _ poll.ballot(id).info.invalid %] 75 75 [% IF invalid == '#1' %] 76 <span class="alert">[% l('invalid ed') %]</span>76 <span class="alert">[% l('invalid') %]</span> 77 77 [% ELSIF invalid == '#' %] 78 78 <i>[% l('must be validated') %]</i> … … 88 88 [% ELSE %][% # can show result %] 89 89 <div class="page_box"> 90 <p>[% l('Results are not yet published') %]<p>90 <p>[% l('Results haven\'t been published yet') %]<p> 91 91 </div> 92 92 [% END %] -
trunk/root/templates/includes/signing_list.tt
r284 r323 9 9 [% IF loop.first %] 10 10 <div id="voting_list" class="box"> 11 <p>[% l(' Voting list') %]</p>11 <p>[% l('List of voters') %]</p> 12 12 <table border="1"> 13 13 <tr><th>[% l('Number') %]</th><th>[% l('voting') %]</th> -
trunk/root/templates/newpoll/index.tt
r307 r323 7 7 <table border="0"> 8 8 <tbody align="center"> 9 <tr><th>[% l('Your mail:') %]</th><td>9 <tr><th>[% l('Your email address:') %]</th><td> 10 10 <input type="text" name="mail" value="[% c.req.param('mail') | html %]" tabindex="1" size="45" maxlength="150"> 11 11 </td></tr> -
trunk/root/templates/newpoll/norequest.tt
r285 r323 4 4 <p class="alert">[% l('No such request found') %]</p> 5 5 6 [% l('Enter the request ID received bymail') %]6 [% l('Enter the request ID you received by email') %] 7 7 <form action="[% c.uri_for('/newpoll', 'confirm') %]" method="POST"> 8 8 <input type="text" name="id"><br> -
trunk/root/templates/newpoll/request.tt
r285 r323 2 2 <div id="poll_request" class="box"> 3 3 <p> 4 [% l('A mail has been sent to [_1], follow the procedureto complete poll4 [% l('An email has been sent to [_1], follow the instructions to complete poll 5 5 creation', c.req.param('mail')) %]</p> 6 6 -
trunk/root/templates/pollinc/binary/ballot.tt
r319 r323 7 7 8 8 [% FOREACH key = poll.choices() %] 9 [% "<p>Candidat s:</p>" IF loop.first %]9 [% "<p>Candidates:</p>" IF loop.first %] 10 10 [% choice = poll.choice(key) %] 11 11 <input type="checkbox" name="sbal" value="[% key %]"[% " checked" IF sbal.$key %]> … … 17 17 [% WHILE count < (poll.info('elected_choice') || 0) %] 18 18 [% IF count == 0 %] 19 <p>[% l('From voting list') %]</p>19 <p>[% l('From the list of voters') %]</p> 20 20 [% END %] 21 21 [% FOREACH vkey = poll.voting_keys %] … … 31 31 [% END %] 32 32 [% ELSE %] 33 <p>[% l('No voter to show') %]</p>33 <p>[% l('No voters to show') %]</p> 34 34 [% END %] 35 35 -
trunk/root/templates/pollinc/binary/ballot_settings.tt
r319 r323 4 4 <table border=1> 5 5 <tr> 6 <td>[% l('Number of possible choice :') %]</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> 9 9 10 10 <tr> 11 <td>[% l(' Number of people to elect') %]<br>12 ([% l('if different of number of choice') %])11 <td>[% l('Possible number of people to elect') %]<br> 12 ([% l('if you want to vote for more than one person') %]) 13 13 </td> 14 14 <td><input type="text" size="3" name="elected_count" value="[% c.req.param('elected_count') || poll.raw_info('elected_count') | html %]"></td> … … 21 21 22 22 <tr> 23 <td>[% l('Number of people to elect, taken from voting list') %]</td>23 <td>[% l('Number of people to elect, taken from the list of voters') %]</td> 24 24 <td><input type="text" size="3" name="elected_choice" value="[% c.req.param('elected_choice') || poll.info('elected_choice') || 0 | html %]"></td> 25 25 </tr> -
trunk/root/templates/pollinc/binary/results.tt
r319 r323 14 14 <table border="1"> 15 15 <tr><th>Score</th><th>[% l('Line n°') %]</th><th>[% l('choice') %]</th><th>[% 16 l('Number of vo ice') %]</th><th>[% l('%') %]</th><th></th></tr>16 l('Number of votes') %]</th><th>[% l('%') %]</th><th></th></tr> 17 17 [% END %] 18 18 -
trunk/root/templates/vote/default.tt
r321 r323 14 14 [% CASE 'BEFORE' %] 15 15 <div class="page_box"> 16 <p>[% l('This poll is not open edyet') %]</p>16 <p>[% l('This poll is not open for voting yet') %]</p> 17 17 </div> 18 18 [% INCLUDE 'includes/signing_list.tt' %]
Note: See TracChangeset
for help on using the changeset viewer.