Changeset 310


Ignore:
Timestamp:
05/21/10 18:32:16 (10 years ago)
Author:
nanardon
Message:
  • add an option to hide poll list on first page
Location:
branches/1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1/epoll.yml.example

    r305 r310  
    99# it ask for this password (in clear) 
    1010# newpollpasswd: 
     11 
     12# Should first page not include poll list ? (just set this to anything) 
     13# hide_polls_list: yes 
  • branches/1/root/templates/default.tt

    r68 r310  
    22[% vote = c.model('Vote') %] 
    33 
     4[% IF NOT c.config.hide_polls_list %] 
    45 
    56[% FOREACH id = vote.list_running_vote %] 
     
    5859[% END %] 
    5960[% END %] 
     61 
     62[% END %] 
Note: See TracChangeset for help on using the changeset viewer.