X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3c0e373447323b5e33b273859e790a2054771afa..a79b274856788fd355c87980186d76ff5a7f9cd6:/src/wolnelektury/templates/user.html?ds=inline diff --git a/src/wolnelektury/templates/user.html b/src/wolnelektury/templates/user.html index f7491badd..40c7950d4 100644 --- a/src/wolnelektury/templates/user.html +++ b/src/wolnelektury/templates/user.html @@ -1,7 +1,13 @@ -{% extends "base/base.html" %} +{% extends request.EXPERIMENTS.layout.value|yesno:"2022/base_simple.html,base/base.html" %} {% load i18n %} +{% block settings %} + {% load title %} + {% trans "User" as title %} + {% title title %} +{% endblock %} + {% block titleextra %}{% trans "User" %}{% endblock %} {% block body %} @@ -11,5 +17,8 @@ <p><a href="{% url 'account_set_password' %}">{% trans "Password" %}</a></p> <p><a href="{% url 'account_email' %}">{% trans "E-mail" %}</a></p> <p><a href="{% url 'socialaccount_connections' %}">{% trans "Social accounts" %}</a></p> + {% if request.user.membership %} + <p><a href="{% url 'club_join' %}">Wspierasz Wolne Lektury, dziÄkujemy!</a></p> + {% endif %} </div> {% endblock %}