Add page for clubs and inactive clubs

This commit is contained in:
2017-09-12 21:10:32 +02:00
parent 13620de754
commit fe69cbcee1
14 changed files with 132 additions and 23 deletions

View File

@ -2,7 +2,11 @@
{% from 'core/macros.jinja' import user_profile_link %}
{% block content %}
{% if club.page and club.page.revisions.exists() %}
{{ club.page.revisions.last().content|markdown }}
{% else %}
<h3>{% trans %}Club{% endtrans %}</h3>
{% endif %}
{% endblock %}