Ignore:
Timestamp:
10/06/10 03:00:25 (14 years ago)
Author:
nanardon
Message:
  • don't allow change on data once results ae published
File:
1 edited

Legend:

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

    r355 r362  
    55 
    66[% IF poll.status == 'AFTER' %] 
    7 <div style="float:left; width: 45%" class="box"> 
     7[% IF poll.results %] 
     8[% ELSE %] 
     9<div style="float:left; width: 40%" class="box"> 
    810<p>[% l('list ballots:') %]</p> 
    911<form action="[% c.uri_form(poll.uid, 'validate') %]" method="POST"> 
     
    6971<div style="float:left; padding: 2px"></div> 
    7072 
    71 <div style="float:left; width: 40%;" class="box"> 
    72 <div id="publish"> 
    73 <form action="[% c.uri_for(poll.uid, 'validate') %]" method="POST"> 
    74 <input type=submit name="publish" value="[% l('publish results') %]"> 
    75 </form> 
    76 </div> 
     73<div style="float:left; width: 35%;" class="box"> 
    7774[% FOREACH untrusted = poll.ballot_untrusted_values('noinvalid') %] 
    7875[% IF loop.first %] 
     
    106103</div> 
    107104 
     105<div id="publish" style="float:left;" class="box"> 
     106<form action="[% c.uri_for(poll.uid, 'validate') %]" method="POST"> 
     107<input type=submit name="publish" value="[% l('publish results') %]"> 
     108</form> 
     109</div> 
     110 
     111[% END %] 
    108112[% END %] 
    109113 
Note: See TracChangeset for help on using the changeset viewer.