Cleanup
[wolnelektury.git] / src / wolnelektury / templates / user.html
index 0ffdd62..7090651 100644 (file)
@@ -1,17 +1,24 @@
-{% extends "base.html" %}
+{% extends "base_simple.html" %}
 {% load i18n %}
 
 
+{% block settings %}
+  {% load title %}
+  {% trans "User" as title %}
+  {% title title %}
+{% endblock %}
+
 {% block titleextra %}{% trans "User" %}{% endblock %}
 
 {% block body %}
+  <div class="normal-text white-box">
+    <h1>{% trans "User" %}</h1>
 
-<h1>{% trans "User" %}</h1>
-
-<div class='normal-text'>
-<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' %}">Wspierasz Wolne Lektury, dziÄ™kujemy!</a></p>
+    {% endif %}
+  </div>
 {% endblock %}