1 {% extends "base/base.html" %}
3 {% load pagination_tags %}
6 {% load build_absolute_uri from fnp_common %}
7 {% load fundings from funding_tags %}
11 {% block titleextra %}{{ object }}{% endblock %}
13 {% block ogimage %}{{ object.cover.url|build_absolute_uri:request }}{% endblock %}
15 {% block metadescription %}Wesprzyj kolejną publikację Wolnych Lektur!{% endblock %}
21 {{ object.detail_bar }}
22 <div class="white-box">
23 <div class="funding-details-intro">
25 <img src="{% thumbnail object.cover "139x193" as thumb %}{{ thumb.url }}{% empty %}{{ object.cover.url }}{% endthumbnail %}"
26 alt="Cover" class="funding-cover" />
28 <div class="normal-text">
29 <h3>{% trans "Help free the book!" %}</h3>
30 {{ object.description|safe }}
34 {% if object.is_current %}
35 <div class="normal-text">
36 <h3>{% trans "Support the publication" %}</h3>
37 <form action="" method="post">
39 {# FIXME after upgrade to django 1.9 use field_order #}
40 {% for field in form %}
41 {% if field.name != 'agree_newsletter' %}
43 <th>{{ field.label }}</th>
45 {{ field.errors }}{{ field }}
46 {% if field.help_text %}<br /><span class="helptext">{{ field.help_text }}</span>
55 <label>{{ form.agree_newsletter }} {{ form.agree_newsletter.label }}</label>
56 <br/><span class="helptext">{{ form.data_processing }}</span>
62 <button type="submit" style="border: none; background: none; cursor: pointer">
63 <img alt="{% trans 'Donate!' %}" src="{% static 'img/payu.png' %}" />
71 {% chunk "funding_form_bottom" %}
74 <a href='//nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/' target="_blank" style='float:right;border:1px solid #ddd;padding: 1em;margin:0 0 1em 1em;background:#eee;'><img src='//nowoczesnapolska.org.pl/wp-content/themes/koed/annoy/procent.png' alt='1%' style='float:left;margin-right: 1em;margin-top:.2em;'>Możesz też przekazać<br/>1% podatku na rozwój biblioteki. →</a>
75 {{ object.status_more }}
76 <p><a href="{% url 'infopage' 'wesprzyj' %}">{% trans "Learn more" %}</a>.</p>
78 {% url 'funding_current' object.slug as current %}
79 <p class="normal-text">{% trans "Tell your friends!" %}</p>
80 <p class="share">{% share current _("Support Wolne Lektury!") "big" %}</p>
81 <div style="clear:both;"></div>
84 <p class="normal-text"><a href="{% url 'funding' %}">{% trans "See all fundraisers." %}</a></p>
87 <h2>{% trans "Supporters" %}:</h2>
89 <div class="white-box normal-text">