X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/97c8c6d7c7961976172bece182832d01c9c0fc4b..1a6ad5b9b48a5efa90410fd324c256f59f57e08f:/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 6e64de1d0..8ad0387e6 100644 --- a/src/club/templates/club/membership_form.html +++ b/src/club/templates/club/membership_form.html @@ -1,8 +1,10 @@ {% extends request.session.from_app|yesno:"base/app.html,base/base.html" %} {% load chunks %} {% load thumbnail %} +{% load club %} -{% block titleextra %}Towarzystwo Wolnych Lektur{% endblock %} +{% block titleextra %}Uwalniaj książki razem z nami!{% endblock %} +{% block metadescription %}„Wolne Lektury należy wspierać, bo są” - Filip Springer{% endblock %} {% block body %} @@ -67,20 +69,24 @@ .inna.active .button {display: none;} .ambassador { - display: flex; - justify-content: end; padding: 2em; margin-bottom: 1em; border: 1px solid #ddd; + position: relative; + } + .ambassador.with-photo { + padding-right: 145px; } .ambassador img { border-radius: 100%; - margin-left: 1em; - align-self: center; + height: 100px; + width: 100px; + position: absolute; + top: 35px; + right: 30px; } .ambassador div { text-align: right; - align-self: center; line-height: 1.5em; } @@ -118,6 +124,12 @@

{% 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 %} + {% chunk 'club_form_top' %}
@@ -178,7 +190,7 @@
{% if ambassador %} -
+
{{ ambassador.text }} @@ -204,6 +216,8 @@
+{% chunk 'club_form_bottom' %} +
{% endblock %}