X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/575e58df64c98b53edca9fb6a29b284dbc375609..28cb104054903726b0556222929f8f2e9941882d:/apps/funding/templates/funding/tags/funding.html diff --git a/apps/funding/templates/funding/tags/funding.html b/apps/funding/templates/funding/tags/funding.html index 7d72c3161..981ae62f5 100755 --- a/apps/funding/templates/funding/tags/funding.html +++ b/apps/funding/templates/funding/tags/funding.html @@ -1,11 +1,23 @@ +{% load i18n %} {% load time_tags %} -
- {% if link %}{% endif %} - {{ offer }}; - zebraliśmy {{ offer.sum }} z {{ offer.target }}{% if offer.state = 'running' %}; - do końca: + style="background-size: {{ percentage|stringformat:'.2f' }}% 1px;" + {% if link %}href="{{ offer.get_absolute_url }}"{% endif %} + > + {% if is_current %} + {% trans "Support a book:" %} {% endif %} - {% if link %}{% endif %} -
+ {{ offer }} + + {% trans "collected" %}: {{ offer.sum }} / {{ offer.target }} zł + {% if is_current %} + {% trans "until fundraiser end" %}: + + + {% endif %} + +
+ +{% endif %}