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

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

Added selection of random 5 elements from the submissions topic

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