Ignore:
Timestamp:
04/06/09 00:22:17 (15 years ago)
Author:
nanardon
Message:
  • get back voting list during vote, but hide who has already voted
File:
1 edited

Legend:

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

    r112 r162  
    22 
    33[% vote = c.model('Vote') %] 
     4[% poll = c.model('Vote').poll(voteid) %] 
    45 
    56[% INCLUDE 'includes/poll.tt' %] 
    67 
    7 [% SWITCH vote.vote_status(voteid) %] 
     8[% SWITCH poll.status() %] 
     9 
    810[% CASE 'RUNNING' %] 
    911[% INCLUDE 'includes/poll_running.tt' %] 
     12[% INCLUDE 'includes/signing_list.tt' %] 
     13 
    1014[% CASE 'BEFORE' %] 
    1115<div class="page_box"> 
     
    1317</div> 
    1418[% INCLUDE 'includes/signing_list.tt' %] 
     19 
    1520[% CASE 'AFTER' %] 
    1621[% INCLUDE 'includes/poll_results.tt' %] 
    1722[% INCLUDE 'includes/signing_list.tt' %] 
     23 
    1824[% END %] 
    1925 
    20  
Note: See TracChangeset for help on using the changeset viewer.