X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/62d83af2cafb15b3940311cf305a30d489909d95..887e765ccf3560dc63cd787aee9703d570f971b3:/apps/funding/templates/funding/offer_detail.html diff --git a/apps/funding/templates/funding/offer_detail.html b/apps/funding/templates/funding/offer_detail.html index 81007b08b..7feb5b3fc 100755 --- a/apps/funding/templates/funding/offer_detail.html +++ b/apps/funding/templates/funding/offer_detail.html @@ -2,36 +2,55 @@ {% load url from future %} {% load i18n %} {% load funding_tags %} +{% load pagination_tags %} +{% load fnp_share %} {% block titleextra %}{{ object }}{% endblock %} +{% block metadescription %}Wesprzyj kolejną publikację Wolnych Lektur!{% endblock %} + {% block body %}

{{ object }}

-
- {% funding object %} - {% offer_detail_head object %} - - {% if object.state == 'running' %} +{% funding object show_title=False %} +
+ {% if object.cover %} + + {% endif %} +
+ {{ object.description|safe }} + {% offer_status object %} + {% offer_status_more object %} +

{% trans "Learn more" %}.

+
+ +
+ {% if object.is_current %}
- -

{% trans "Support" %}

+

{% trans "Support the publication" %}

{% csrf_token %} {{ form.as_table }} - +
+ +
-
+ + {% url 'funding_current' object.slug as current %} +

{% trans "Tell your friends!" %}

+ {% endif %} -

Zobacz wszystkie zbiórki.

+

{% trans "See all fundraisers." %}

@@ -39,19 +58,21 @@

{% trans "Supporters" %}:

+{% with object.funding_payed.all as fundings %} - {% for funding in object.funding_set.all %} + {% autopaginate fundings 10 %} + {% for funding in fundings %} - + {% endfor %}
{{ funding.payed_at.date }}
- {% if funding.anonymous %} - {% trans "Anonymous" %} - {% else %} + {% if funding.name %} {{ funding.name }} + {% else %} + {% trans "Anonymous" %} {% endif %}
+{{ funding.amount }} zł
{{ funding.amount }} zł
{% for perk in funding.perks.all %} {{ perk.name }}{% if not forloop.last %},{% endif %} @@ -59,7 +80,9 @@
- + + {% paginate %} +{% endwith %}
{% endblock %}