]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blob - templates/modules/wishlist-items.html
Add wishes to the donation page.
[people/shoehn/ipfire.org.git] / templates / modules / wishlist-items.html
1 <table class="table-wishlist-widget">
2 {% for item in wishlist_items %}
3 <tr>
4 <td>
5 {% if item.is_new() %}
6 <span class="label label-success pull-right">{{ _("NEW") }}</span>
7 {% elif item.remaining_days and item.remaining_days <= 10 %}
8 <span class="pull-right">
9 {{ _("one day left", "%(num)s days left", item.remaining_days) % { "num" : item.remaining_days } }}
10 </span>
11 {% else %}
12 <span class="pull-right">
13 {{ _("%d%% funded") % item.percentage }}
14 </span>
15 {% end %}
16
17 <a href="http://wishlist.ipfire.org/wish/{{ item.slug }}" target="_blank">{{ item.title }}</a>
18
19 <br class="separator-small">
20
21 <div class="progress progress-small">
22 <div class="progress-bar progress-{{ item.progressbar_colour }}" style="width: {{ "%.2f%%" % item.percentage_bar }};"></div>
23 </div>
24 </td>
25 </tr>
26 {% end %}
27 </table>