X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/4b86e623b0ff7a5a53bdb29df06eab039ebe4e1e..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 d0c3250e5..04a3e109b 100644 --- a/src/club/templates/club/membership_form.html +++ b/src/club/templates/club/membership_form.html @@ -1,20 +1,80 @@ -{% extends "base/base.html" %} +{% extends request.session.from_app|yesno:"base/app.html,base/base.html" %} +{% load i18n %} +{% load chunks %} +{% load thumbnail %} +{% load club %} - -{% block titleextra %}Towarzystwo Wolnych Lektur{% 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 %} -
+
+ +

{% trans "Support Wolne Lektury" %}

+

+ {% 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' %} -

{% if membership %}Odnów swoje członkostwo w Towarzystwie Wolnych Lektur{% else %}Dołącz do Towarzystwa Wolnych Lektur{% endif %}

+ {% 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 }} 
- - {% csrf_token %} + {% include "club/payment_form.html" %} - {{ form.as_p }} - -
+ {% chunk 'club_form_bottom' %} + + + +
+ {% if ambassador %} +
+
+ + {{ ambassador.text }} + +
{{ ambassador.name }}
+
+ {% if ambassador.photo %} + + {% endif %} +
+ {% endif %} + + {% include "club/payment_info.html" %} +
+