source: products/ploneorg.kudobounty/trunk/ploneorg/kudobounty/skins/ploneorg_kudobounty/bounty_portlet_view.pt @ 3184

Last change on this file since 3184 was 3184, checked in by mylan, 13 years ago

Fixed showing all bounty winners images before hiding other ones

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1<metal:listingmacro define-macro="listing">
2
3<div id="portal-bounty-program" class=""
4     tal:condition="view/available">
5  <div class="helperText" tal:define="portal_state here/@@plone_portal_state;">
6    <span>Special thanks to the following companies and individuals for their recent contributions to improving Plone:</span>
7    <div class="moreInfo">       
8       <a href="http://" alt="bounty submission 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}">
11       [Find out more about how you can contribute]</a>
12    </div>
13  </div>
14  <ul>
15    <li tal:repeat="item view/results" class="hidden">
16      <a href="http://submission.url"
17         title="Title of the submission"
18         tal:attributes="href item/getRemoteUrl;
19                         title item/Title;">
20        <img src="http://submission/image_bounty"
21             alt="Alternate text for the image"
22             tal:attributes="src string:${item/getURL}/image_bounty;
23                             alt item/Description;"/></a>
24    </li>
25  </ul>
26 
27</div>
28
29</metal:listingmacro>
Note: See TracBrowser for help on using the repository browser.