Changeset 3184 in products
- Timestamp:
- Apr 28, 2011 12:29:17 PM (13 years ago)
- Location:
- ploneorg.kudobounty/trunk/ploneorg/kudobounty/skins/ploneorg_kudobounty
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ploneorg.kudobounty/trunk/ploneorg/kudobounty/skins/ploneorg_kudobounty/bounty_portlet_view.pt
r3176 r3184 7 7 <div class="moreInfo"> 8 8 <a href="http://" alt="bounty submission form" 9 tal:attributes="href string:${portal_state/portal_url}/bounty-submissions/bounty-submissions-form"> 9 tal:define="bounty_form_path string:/bounty-submission/bounty-submissions-form" 10 tal:attributes="href string:${portal_state/portal_url}${bounty_form_path}"> 10 11 [Find out more about how you can contribute]</a> 11 12 </div> -
ploneorg.kudobounty/trunk/ploneorg/kudobounty/skins/ploneorg_kudobounty/ploneorg_bounty.css.dtml
r3176 r3184 1 /* needed for JS to hide bounty elements */2 #portal-bounty-program.js-enabled .hidden {3 display: none;4 }5 1 /* styles */ 6 2 #portal-bounty-program { -
ploneorg.kudobounty/trunk/ploneorg/kudobounty/skins/ploneorg_kudobounty/ploneorg_bounty.js.dtml
r3176 r3184 1 // Hide #portal-bounty-program container BEFORE it will be loaded 2 // This willbe done only for browser with javascript support. 3 $("<style type='text/css'>#portal-bounty-program .hidden{display:none;}</style>").appendTo("head"); 4 1 5 function getRandomSubset(array, choice_num) { 2 6 // Return randomly selected *choice_num* elements from the array … … 17 21 18 22 $(document).ready(function() { 19 $("#portal-bounty-program").addClass('js-enabled');20 23 $(getRandomSubset($("#portal-bounty-program ul li"), 5)) 21 24 .each(function(i, el){
Note: See TracChangeset
for help on using the changeset viewer.