Basic crowdfunding.
[wolnelektury.git] / apps / funding / templates / funding / tags / funding.html
1 {% load time_tags %}
2 <div
3     class="funding {{ add_class }}"
4     style="background-size: {{ percentage|stringformat:'.2f' }}% 1px;">
5     {% if link %}<a href="{{ offer.get_absolute_url }}">{% endif %}
6     {{ offer }};
7     zebraliśmy {{ offer.sum }} z {{ offer.target }}{% if offer.state = 'running' %};
8     do końca: <strong class="countdown inline" data-until='{{ offer.end|local_to_utc|utc_for_js }}'></strong>
9     {% endif %}
10     {% if link %}</a>{% endif %}
11 </div>