X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..ddf2102eff7ea420a4ea5144c43409587fc1156e:/src/funding/templates/funding/offer_detail.html?ds=sidebyside diff --git a/src/funding/templates/funding/offer_detail.html b/src/funding/templates/funding/offer_detail.html index 70930c400..05e2d7b85 100644 --- a/src/funding/templates/funding/offer_detail.html +++ b/src/funding/templates/funding/offer_detail.html @@ -1,11 +1,11 @@ -{% extends "base.html" %} -{% load url from future %} +{% extends "base/base.html" %} {% load i18n static %} {% load pagination_tags %} {% load fnp_share %} {% load thumbnail %} {% load build_absolute_uri from fnp_common %} -{% load ssi_include from ssify %} +{% load fundings from funding_tags %} +{% load chunks %} {% block titleextra %}{{ object }}{% endblock %} @@ -16,62 +16,77 @@ {% block body %} +

{{ object }}

-

{{ object }}

- -{% ssi_include 'funding_detail_bar' pk=object.pk %} -
+ {{ object.detail_bar }} +
- {% if object.cover %} - Cover - {% endif %} -
+ {% if object.cover %} + Cover + {% endif %} +

{% trans "Help free the book!" %}

{{ object.description|safe }} - {% ssi_include 'funding_status' pk=object.pk %} - 1%Możesz też przekazać
1% podatku na rozwój biblioteki. →
- {% ssi_include 'funding_status_more' pk=object.pk %} -

{% trans "Learn more" %}.

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

{% trans "Support the publication" %}

-
- - {{ form.as_table }} - -
- -
-
-
+
+

{% trans "Support the publication" %}

+
+ + {# FIXME after upgrade to django 1.9 use field_order #} + {% for field in form %} + {% if field.name != 'agree_newsletter' %} + + + + + {% endif %} + {% endfor %} + + + + + + + + +
{{ field.label }} + {{ field.errors }}{{ field }} + {% if field.help_text %}
{{ field.help_text }} + {% endif %} +
+ +
{{ form.data_processing }} +
+ +
+
+
+ + {% chunk "funding_form_bottom" %} + + {{ object.status }} + 1%Możesz też przekazać
1% podatku na rozwój biblioteki. →
+ {{ object.status_more }} +

{% trans "Learn more" %}.

- {% url 'funding_current' object.slug as current %} -

{% trans "Tell your friends!" %}

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

{% trans "Tell your friends!" %}

+ +
{% endif %}

{% trans "See all fundraisers." %}

+
-
- - -

{% trans "Supporters" %}:

- -
- {% ssi_include 'funding_fundings' pk=object.pk page=page %} -
+

{% trans "Supporters" %}:

+
+ {% fundings object %} +
{% endblock %}