Ignore:
Timestamp:
Apr 19, 2011 3:29:53 PM (13 years ago)
Author:
mylan
Message:

Added selection of random 5 elements from the submissions topic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ploneorg.kudobounty/trunk/ploneorg/kudobounty/skins/ploneorg_kudobounty/bounty_portlet_view.pt

    r3136 r3148  
    1 <metal:listingmacro define-macro="listing"> 
     1<metal:listingmacro define-macro="listing" 
     2       tal:define="portal_state here/@@plone_portal_state; 
     3                   portal_url portal_state/portal_url"> 
    24 
    35<div id="portal-bounty-program" 
     
    79  </div> 
    810  <ul> 
    9     <li tal:repeat="item view/results"> 
     11    <li tal:repeat="item view/results" class="hidden"> 
    1012      <a href="http://submission.url" 
    1113         title="Title of the submission" 
     
    1820    </li> 
    1921  </ul> 
    20   <div class="below-bounty-text" 
    21        tal:define="portal_state here/@@plone_portal_state;"> 
     22  <div class="below-bounty-text"> 
    2223    &#91;<a href="http://" alt="bounty submission form" 
    23        tal:attributes="href string:${portal_state/portal_url}/bounty-submissions/bounty-submissions-form"> 
     24       tal:attributes="href string:${portal_url}/bounty-submissions/bounty-submissions-form"> 
    2425      Find out more about how you can contribute 
    2526    </a>&#93; 
Note: See TracChangeset for help on using the changeset viewer.