Base payment scheme.
[wolnelektury.git] / src / club / templates / club / index.html
diff --git a/src/club/templates/club/index.html b/src/club/templates/club/index.html
new file mode 100644 (file)
index 0000000..fd36aad
--- /dev/null
@@ -0,0 +1,26 @@
+{% extends "base/base.html" %}
+{% load active_schedule from club %}
+
+
+{% block titleextra %}Towarzystwo Wolnych Lektur{% endblock %}
+
+
+{% block body %}
+<div class="white-box normal-text">
+
+       <h1>Towarzystwo Wolnych Lektur</h1>
+
+       <p>Towarzystwo jest fajne.</p>
+
+{% with schedule=request.user|active_schedule %}
+{% if schedule %}
+<p><a href="{{ schedule.get_absolute_url }}">Jesteś już w Towarzystwie</a>!</p>
+{% else %}
+<a href="{% url 'club_join' %}">Dołącz do Towarzystwa</a>.
+{% endif %}
+{% endwith %}
+
+
+</div>
+
+{% endblock %}