Changeset 12 for trunk/root


Ignore:
Timestamp:
03/06/09 14:10:52 (15 years ago)
Author:
nanardon
Message:
  • add count functions
Location:
trunk/root/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/root/templates/ballot/default.tt

    r9 r12  
    33[% thisvote = vote.vote_info(voteid) %] 
    44[% thisvote.label | html %] 
     5[% signing = [vote.vote_signing(voteid)] %] 
     6Ont voté: [% vote.signing_count(voteid) %] /  [% signing.size %]<br> 
     7Bulletins: [% vote.ballot_count(voteid) %]<br> 
    58<hr> 
    69 
  • trunk/root/templates/vote/default.tt

    r8 r12  
    33[% thisvote = vote.vote_info(voteid) %] 
    44[% thisvote.label | html %]<br> 
     5[% signing = [ vote.vote_signing(voteid) ] %] 
     6Ont voté: [% vote.signing_count(voteid) %] /  [% signing.size %]<br> 
     7Bulletins: [% vote.ballot_count(voteid) %]<br> 
    58 
    6 [% FOREACH voting = [ vote.vote_signing(voteid) ] %] 
     9[% FOREACH voting = signing %] 
    710[% voting.id | html %] [% voting.date %]<br> 
    811[% END %] 
Note: See TracChangeset for help on using the changeset viewer.