X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae7d3570e012528e56af74b91e7ad120df0cb2cc..d891cd280793404e5d44e0fe0a3d7e0c70564177:/src/club/templates/club/membership_form.html diff --git a/src/club/templates/club/membership_form.html b/src/club/templates/club/membership_form.html index 36dcb6693..04a3e109b 100644 --- a/src/club/templates/club/membership_form.html +++ b/src/club/templates/club/membership_form.html @@ -1,212 +1,60 @@ {% extends request.session.from_app|yesno:"base/app.html,base/base.html" %} +{% load i18n %} {% load chunks %} {% load thumbnail %} {% load club %} -{% block titleextra %}Uwalniaj książki razem z nami!{% endblock %} -{% block metadescription %}„Wolne Lektury należy wspierać, bo są” - Filip Springer{% endblock %} +{% block titleextra %}{% trans "Join us in freeing the books!" %}{% endblock %} +{% block metadescription %}{% trans "„Wolne Lektury należy wspierać, bo są” - Filip Springer" %}{% endblock %} {% block body %} - - - -
-

Wspieraj Wolne Lektury

+

{% trans "Support Wolne Lektury" %}

- {% if membership %}Dziękujemy za Twoje dotychczasowe zaangażowanie! Wesprzyj nas ponownie!{% else %}Dziękujemy, że chcesz razem z nami uwalniać książki!{% endif %}

- - {% with schedule=request.user|active_schedule %} - {% if schedule %} -

Zobacz swoje dotychczasowe wsparcie.

- {% endif %} - {% endwith %} + {% if membership %} + {# Displays to members. #} + {% trans "Thank you for your support! Support us again!" %} + {% else %} + {# Displays to non-supporters. #} + {% trans "Thank you for wanting to free the books with us!" %} + {% endif %} + + {% with schedule=request.user|active_schedule %} + {% if schedule %} +

{% trans "See your past support." %}

+ {% endif %} + {% endwith %} - {% chunk 'club_form_top' %} -
+
{% csrf_token %} -

Zadeklaruj, jak często i jaką kwotą chcesz nas wspierać:

- -
    - {% for e in form.non_field_errors %} -
  • {{ e }}
  • - {% endfor %} - {% for e in form.plan.errors %} -
  • {{ e }}
  • - {% endfor %} - {% for e in form.amount.errors %} -
  • {{ e }}
  • - {% endfor %} -
- - {{ form.amount }} - {{ form.monthly }} -
- jednorazowo - miesięcznie -
- - - - -
- {% for amount in club.proposed_monthly_amounts %} - {{ amount }} - {% endfor %} - - - inna kwota - - -
{% include 'club/payment/payu-re.html' %}
-
- -

- Podaj nam swój adres e-mail, żebyśmy mogli się z Tobą skontaktować: -

- -

- {{ form.email }}

- + + {% chunk 'club_form_top' %} + + {% club_monthly_since '2020-12-01' as supporters %} + {% club_monthly_missing_since '2020-12-01' 100 as missing_supporters %} +

+ {% blocktrans %}Help us get 100 new Friends by the end of the school semester.{% endblocktrans %} + {% blocktrans count supporters=supporters %} + So far {{ supporters }} reader has already supported us with a regular donation, + {% plural %} + So far {{ supporters }} readers have already supported us with a regular donation, + {% endblocktrans %} + {% blocktrans count missing_supporters=missing_supporters %} + {{ missing_supporters }} is missing. + {% plural %} + {{ missing_supporters }} are missing. + {% endblocktrans %} +

+
 {{ supporters }}{{ missing_supporters }} 
+ + {% include "club/payment_form.html" %} + + {% chunk 'club_form_bottom' %} +
@@ -223,22 +71,11 @@ vertical-align: middle; {% endif %}
{% endif %} -
-
- {% chunk 'club-form-info-monthly' %} -
- - -
+ + {% include "club/payment_info.html" %}
-{% chunk 'club_form_bottom' %} -
{% endblock %}