X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/87e084d47c335cd6f0b3e91d614999f55d148044..f2987b660cfec30fc4e8b3d4981409133f6690c0:/src/wolnelektury/templates/user.html

diff --git a/src/wolnelektury/templates/user.html b/src/wolnelektury/templates/user.html
index fa2f66035..0f261f92b 100644
--- a/src/wolnelektury/templates/user.html
+++ b/src/wolnelektury/templates/user.html
@@ -1,18 +1,18 @@
-{% extends "base.html" %}
+{% extends "base/base.html" %}
 {% load i18n %}
 
 
 {% block titleextra %}{% trans "User" %}{% endblock %}
 
 {% block body %}
+  <div class="normal-text white-box">
+    <h1>{% trans "User" %}</h1>
 
-<div class="normal-text white-box">
-
-<h1>{% trans "User" %}</h1>
-
-<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>
-</div>
-
+    <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' %}">Należysz do Towarzystwa Przyjaciół Wolnych Lektur</a></p> 
+    {% endif %}
+  </div>
 {% endblock %}