Changeset 100 for trunk/root


Ignore:
Timestamp:
03/24/09 13:14:07 (15 years ago)
Author:
nanardon
Message:
  • show choice in poll summary
Location:
trunk/root/templates
Files:
2 edited

Legend:

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

    r78 r100  
    6969[% INCLUDE 'includes/poll.tt' %] 
    7070[% END %] 
    71 <hr> 
    7271 
    7372[% IF vote.vote_status(voteid) != 'AFTER' %] 
    74 Liste des votants : 
    7573<table border="1"> 
     74<tr><th colspan=2>Liste des votants</th></tr> 
    7675<tr> 
    7776<td valign="TOP"> 
     
    125124[% ELSE %] 
    126125 
    127 [% INCLUDE 'includes/poll.tt' %] 
     126[% # INCLUDE 'includes/poll.tt' %] 
    128127 
    129128[% FOREACH untrusted = vote.vote_ballot_untrusted_values(voteid) %] 
  • trunk/root/templates/includes/poll.tt

    r79 r100  
    22[% thisvote = vote.vote_info(voteid) %] 
    33 
    4 <div id="poll_summary" class="box"> 
     4<div id="poll_summary" class="box" style="clear: both;"> 
     5<div style="float: left; width: 70%;"> 
    56<p id="poll_label">[% thisvote.label | html %]</p> 
    67<p>[% thisvote.description | html %]</p> 
     
    1617[% END %] 
    1718</div> 
     19[% FOREACH item = vote.vote_choices(voteid) %] 
     20[% IF loop.first %] 
     21<div style="float: right; width: 20%; top: 0px;" class="box"> 
     22<p>Bulletin:</p> 
     23<ol style="padding-left:15px; margin:5px;"> 
     24[% END %] 
     25<li>[% vote.choice_info(item).label | html %]</li> 
     26[% IF loop.last %] 
     27</ol> 
     28</div> 
     29[% END %] 
     30[% END %] 
     31<div style="clear: both;"></div> 
     32</div> 
    1833 
Note: See TracChangeset for help on using the changeset viewer.