1 {% extends request.session.from_app|yesno:"base/app.html,base/base.html" %}
7 {% block titleextra %}{% trans "Join us in freeing the books!" %}{% endblock %}
8 {% block metadescription %}{% trans "„Wolne Lektury należy wspierać, bo są” - Filip Springer" %}{% endblock %}
23 border: 1px solid #888;
25 display: inline-block;
31 vertical-align: middle;
33 .payment-method.disabled {
35 filter: grayscale(100%);
39 box-sizing: border-box;
40 display: inline-block;
43 .kwota, .inna .button, .plan-toggle, .inna input {
44 border: 1px solid black;
74 height: 3em !important;
85 .kwota.active, .plan-toggle.active {
88 .inna input {display: none;}
89 .inna.active input {display: inline;}
90 .inna.active .button {display: none;}
95 border: 1px solid #ddd;
98 .ambassador.with-photo {
118 @media screen and (max-width: 1023px) {
125 @media screen and (min-width: 1024px) {
127 border-left: 1px solid #ddd;
134 .twocol > form, .twocol > div {
142 <div class="white-box normal-text">
144 <h1>{% trans "Support Wolne Lektury" %}</h1>
145 <h2 style="margin-bottom:2em;">
147 {# Displays to members. #}
148 {% trans "Thank you for your support! Support us again!" %}
150 {# Displays to non-supporters. #}
151 {% trans "Thank you for wanting to free the books with us!" %}
154 {% with schedule=request.user|active_schedule %}
156 <p><a href="{{ schedule.get_absolute_url }}">{% trans "See your past support." %}</a></p>
162 <form method="POST" action="" id="payment-form" class="wlform">
165 {% chunk 'club_form_top' %}
167 <ul class="errorlist">
168 {% for e in form.non_field_errors %}
171 {% for e in form.plan.errors %}
174 {% for e in form.amount.errors %}
179 <h3>1. {% trans "Choose your type of support" %}</h3>
183 <div class="plan-select">
184 <span class="button plan-toggle" data-plan="plan-single" data-monthly="False">{% trans "one-time" %}</span>
185 <span class="button plan-toggle active" data-plan="plan-monthly" data-monthly="True">{% trans "monthly" %}</span>
188 <h3>2. {% trans "Choose the amount" %}</h3>
190 <div class="plan" id="plan-single" style="display:none;" data-monthly="False" data-min-for-year="{{ club.min_for_year }}" data-amount="{{ club.default_single_amount }}">
191 {% for amount in club.proposed_single_amounts %}
192 <span class="button kwota{% if amount == club.default_single_amount %} active{% endif %}{% if amount >= club.min_for_year %} yearly{% endif %}">{{ amount }}</span>
196 <span class="button">{% trans "different amount" %}</span>
197 <input type="number" min="{{ club.min_amount }}">
199 <div class="methods">{% include 'club/payment/payu.html' %}</div>
203 <div class="plan" id="plan-monthly" data-monthly="True" data-amount="{{ club.default_monthly_amount }}">
204 {% for amount in club.proposed_monthly_amounts %}
205 <span class="button kwota{% if amount == club.default_monthly_amount %} active{% endif %}">{{ amount }}</span>
209 <span class="button">{% trans "different amount" %}</span>
210 <input type="number" min="{{ club.min_amount }}">
212 <div class="methods">{% include 'club/payment/payu-re.html' %}</div>
215 <h3>3. {% trans "Provide an e-mail address" %}</h3>
217 <p>{{ form.email }}</p>
220 {{ form.agree_newsletter }}
221 <label for="id_agree_newsletter">
222 {% trans "I'd like to receive informations about new publications." %}
226 <p>{% trans 'You can unsubscribe at any point. More in the <a target="_blank" href="https://nowoczesnapolska.org.pl/prywatnosc/">privacy policy</a>.' %}</p>
228 <div><button class="submit" type='submit'>{% trans "Donate" %}</button></div>
230 {% chunk 'club_form_bottom' %}
234 <div class="club-form-info">
236 <div class="ambassador {% if ambassador.photo %}with-photo{% endif %}">
239 {{ ambassador.text }}
241 <div style="font-size: 1.2em">{{ ambassador.name }}</div>
243 {% if ambassador.photo %}
244 <img src="{% thumbnail ambassador.photo "100x100" as thumb %}{{ thumb.url }}{% empty %}{{ ambassador.photo.url }}{% endthumbnail %}">
248 <div class="chunk-alt">
249 <div class="chunk chunk-monthly">
250 {% chunk 'club-form-info-monthly' %}
252 <div class="chunk chunk-single" style="display: none;">
253 {% chunk 'club-form-info-single' %}
255 <div class="chunk chunk-single-year" style="display: none;">
256 {% chunk 'club-form-info-single-year' %}