1 {% extends "base/base.html" %}
2 {% load url from future %}
4 {% load pagination_tags %}
7 {% load build_absolute_uri from fnp_common %}
8 {% load ssi_include from ssify %}
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 {% ssi_include 'funding_detail_bar' pk=object.pk %}
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 }}
31 {% ssi_include 'funding_status' pk=object.pk %}
32 <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>
33 {% ssi_include 'funding_status_more' pk=object.pk %}
34 <p><a href="{% url 'infopage' 'wesprzyj' %}">{% trans "Learn more" %}</a>.</p>
37 <div style="clear:both;"></div>
40 {% if object.is_current %}
41 <div class="normal-text">
42 <h3>{% trans "Support the publication" %}</h3>
43 <form action="" method="post">
45 {# FIXME after upgrade to django 1.9 use field_order #}
46 {% for field in form %}
47 {% if field.name != 'agree_newsletter' %}
49 <th>{{ field.label }}</th>
51 {{ field.errors }}{{ field }}
52 {% if field.help_text %}<br /><span class="helptext">{{ field.help_text }}</span>
61 <label>{{ form.agree_newsletter }} {{ form.agree_newsletter.label }}</label>
62 <br/><span class="helptext">{{ form.data_processing }}</span>
68 <button type="submit" style="border: none; background: none; cursor: pointer">
69 <img alt="{% trans 'Donate!' %}" src="{% static 'img/payu.png' %}" />
77 {% url 'funding_current' object.slug as current %}
78 <p class="normal-text">{% trans "Tell your friends!" %}</p>
79 <p class="share">{% share current _("Support Wolne Lektury!") "big" %}</p>
82 <p class="normal-text"><a href="{% url 'funding' %}">{% trans "See all fundraisers." %}</a></p>
85 <h2>{% trans "Supporters" %}:</h2>
87 <div class="white-box normal-text">
88 {% ssi_include 'funding_fundings' pk=object.pk page=page %}