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

Location:
ploneorg.kudobounty/trunk/ploneorg/kudobounty
Files:
1 added
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • ploneorg.kudobounty/trunk/ploneorg/kudobounty/profiles/default/cssregistry.xml

    r3129 r3148  
    33 
    44<stylesheet title="" 
    5     id="++resource++ploneorg_bounty.css" 
     5    id="ploneorg_bounty.css" 
    66    media="screen" rel="stylesheet" rendering="import" 
    77    cacheable="True" compression="safe" cookable="True" 
  • 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; 
  • ploneorg.kudobounty/trunk/ploneorg/kudobounty/skins/ploneorg_kudobounty/ploneorg_bounty.css.dtml

    r3136 r3148  
    1 # Bounty styles 
     1/* needed for JS to hide bounty elements */ 
     2#portal-bounty-program .hidden { 
     3    display: none; 
     4} 
Note: See TracChangeset for help on using the changeset viewer.