X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/355e42e2b2244470ac6a5b9ad056e4a3f38f838c..e24e657ebf536f55c1bde66bd41563fae30a98b0:/src/club/templates/club/schedule.html diff --git a/src/club/templates/club/schedule.html b/src/club/templates/club/schedule.html index b1e190780..5bb773322 100644 --- a/src/club/templates/club/schedule.html +++ b/src/club/templates/club/schedule.html @@ -1,90 +1,154 @@ -{% extends "base/base.html" %} +{% extends "base_simple.html" %} +{% load i18n %} -{% block titleextra %}Towarzystwo Wolnych Lektur{% endblock %} +{% block titleextra %}{% trans "Wolne Lektury potrzebują Twojej pomocy!" %}{% endblock %} {% block body %} -
-

Plan płatności

+

+ {% trans "Cieszymy się, że jesteś z nami! Dziękujemy za wsparcie!" %} +

+
+

-

E-mail: {{ schedule.email }}
-
Składka: {{ schedule.amount }} zł {{ schedule.plan.get_interval_display }}
-
Wybrana metoda płatności: {{ schedule.get_payment_method.name }}
-{% if schedule.is_active %} - {% if schedule.plan.is_perpetual %} - Opłacona na zawsze. + {% if schedule.payed_at %} + {% trans "Kwota" %}: + {{ schedule.amount }} zł + +
+ + {% trans "Pierwsza wpłata" %}: + {{ schedule.payed_at.date }} + +
+ + {% if schedule.is_expired %} + + {% trans "Status darczyńcy nieaktywny od" %} + {{ schedule.expires_at.date }} + + {% else %} + + {% trans "Status darczyńcy aktywny" %} + {% if schedule.get_payment_method.expiration_reliable %} + {% trans "do" %} + {{ schedule.expires_at.date }} + {% endif %} + + {% endif %} + +
+ {% endif %} - Aktualnie opłacona do: {{ schedule.expires_at }} - {% if schedule.get_payment_method.is_recurring %} -
- {% csrf_token %} - -
+ + +{% if schedule.is_active %} + {% if schedule.is_recurring %} + {% if schedule.is_cancelled %} +

{% trans "Płatność anulowana." %}

+

+ {% trans "Wpłać ponownie" %} +

+ {% else %} + {% if schedule.get_payment_method.updateable %} +
+ {% csrf_token %} + +
+
+ {% endif %} + + {% if schedule.get_payment_method.cancellable %} +
+ {% csrf_token %} + +
+ {% endif %} + {% endif %} {% else %} -
+ {% csrf_token %} - -
+ + {% endif %} {% else %} - {% if schedule.is_expired %} - Członkostwo wygasło. -
+ {% if schedule.is_expired %} + + + {% csrf_token %} + +
+ + {% if schedule.get_payment_method.cancellable %} +
+
{% csrf_token %} - -
+ + + {% endif %} {% else %} - Składka nie została jeszcze opłacona. + {% if not schedule.payed_at %} +

{% trans "Płatność nie została jeszcze wykonana." %}

{% if schedule.payuorder_set.exists %} - Czekamy na potwierdzenie płatności. + {% trans "Czekamy na potwierdzenie płatności." %} {% else %} -
+ {% csrf_token %} - +
{% endif %} + {% endif %} {% endif %} {% endif %} -
+{% if not schedule.membership %} + +
+ +

{% trans "Powiązanie z kontem użytkownika" %}

-{% if schedule.membership %}

- Członek/członkini Towarzystwa nr {{ schedule.membership.id }} ({{ schedule.membership.user }}). + {% blocktrans trimmed %} + Twoje wsparcie upoważnia Cię do przedpremierowego dostępu do publikacji. + Aby z niego korzystać, powiąż darowiznę ze swoim kontem użytkownika na Wolnych Lekturach. + {% endblocktrans %}

-
- {% csrf_token %} - Imię i nazwisko na legitymację:
-
- -
-{% else %} -

-Płatność nie przypisana do członkostwa.
-Przypisz +

+ + {% if request.user.is_authenticated %} + {% blocktrans trimmed with user=request.user.username %} + Powiąż darowiznę z kontem {{ user }} + {% endblocktrans %} + {% else %} + {% trans "Zaloguj się i powiąż darowiznę z kontem" %} + {% endif %} +

{% endif %} - - - - -
{% endblock %}