X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/4b86e623b0ff7a5a53bdb29df06eab039ebe4e1e..149ca28f533a257ed8034f88a615c8d7abbc9f69:/src/club/templates/club/index.html diff --git a/src/club/templates/club/index.html b/src/club/templates/club/index.html index fd36aad4e..ecc2ef982 100644 --- a/src/club/templates/club/index.html +++ b/src/club/templates/club/index.html @@ -1,26 +1,28 @@ -{% extends "base/base.html" %} +{% extends request.EXPERIMENTS.layout.value|yesno:"2022/base_simple.html,base/base.html" %} +{% load i18n %} {% load active_schedule from club %} +{% load chunks %} -{% block titleextra %}Towarzystwo Wolnych Lektur{% endblock %} +{% block titleextra %}{% trans "Wolne Lektury need your help!" %}{% endblock %} {% block body %} -
-

Towarzystwo Wolnych Lektur

- -

Towarzystwo jest fajne.

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

Jesteś już w Towarzystwie!

-{% else %} -Dołącz do Towarzystwa. -{% endif %} -{% endwith %} - - -
+

{% trans "Wolne Lektury need your help!" %}

+
+ + {% chunk 'club' %} + +

+ {% with schedule=request.user|active_schedule %} + {% if schedule %} + {% trans "Congratulations – you're already a supporter of Wolne Lektury!" %} + {% else %} + {% trans "Become a supporter" %} + {% endif %} + {% endwith %} +

+
{% endblock %}