X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9a5e7a1f45c46fbf3509cb660e29806e7ca05a8d..3c2212f96c81ec3440c8ad8c9290786cf30327e4:/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 474095be3..fe85c1c88 100644 --- a/src/club/templates/club/membership_form.html +++ b/src/club/templates/club/membership_form.html @@ -1,224 +1,45 @@ {% 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 %} -
+
{% csrf_token %} {% chunk 'club_form_top' %} -
    - {% 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 %} -
- -

1. Wybierz rodzaj wsparcia

+ {% club_monthly_since '2020-12-01' as cc %} + {% club_monthly_missing_since '2020-12-01' 100 as cm %} +

Pomóż nam zdobyć 100 nowych Przyjaciół do końca roku. W grudniu stałą wpłatą wsparło nas już {{ cc }} czytelników i czytelniczek, brakuje {{ cm }}.

+
 {{ cc }}{{ cm }} 
- {{ form.amount }} - {{ form.monthly }} -
- jednorazowo - miesięcznie -
- -

2. Wybierz kwotę

- - - - -
- {% for amount in club.proposed_monthly_amounts %} - {{ amount }} - {% endfor %} - - - inna kwota - - -
{% include 'club/payment/payu-re.html' %}
-
- -

3. Podaj adres e-mail

- -

{{ form.email }}

- -

- {{ form.agree_newsletter }} - -

- -

W każdej chwili możesz zrezygnować z subskrypcji. Więcej w polityce prywatności.

- -
+ {% include "club/payment_form.html" %} {% chunk 'club_form_bottom' %} @@ -238,17 +59,8 @@ vertical-align: middle; {% endif %}
{% endif %} -
-
- {% chunk 'club-form-info-monthly' %} -
- - -
+ + {% include "club/payment_info.html" %}