<small>{{ _("The IPFire Crowdfunding Platform") }}</small>
</h3>
- <table class="table-wishlist-widget">
- {% for item in wishlist_items %}
- <tr>
- <td>
- {% if item.is_new() %}
- <span class="label label-success pull-right">{{ _("NEW") }}</span>
- {% elif item.remaining_days and item.remaining_days <= 10 %}
- <span class="pull-right">
- {{ _("one day left", "%(num)s days left", item.remaining_days) % { "num" : item.remaining_days } }}
- </span>
- {% else %}
- <span class="pull-right">
- {{ _("%d%% funded") % item.percentage }}
- </span>
- {% end %}
-
- <a href="http://wishlist.ipfire.org/wish/{{ item.slug }}" target="_blank">{{ item.title }}</a>
-
- <br class="separator-small">
-
- <div class="progress progress-small">
- <div class="progress-bar progress-{{ item.progressbar_colour }}" style="width: {{ "%.2f%%" % item.percentage_bar }};"></div>
- </div>
- </td>
- </tr>
- {% end %}
- </table>
+ {% module WishlistItems(wishlist_items) %}
{% end %}
</div>