Improve club templates

This commit is contained in:
Skia
2016-09-02 09:23:21 +02:00
parent b2df8fbf18
commit 29f565f514
7 changed files with 94 additions and 39 deletions

View File

@@ -1,8 +1,7 @@
{% extends "core/base.jinja" %}
{% extends "club/club_base.jinja" %}
{% block content %}
{% block club %}
<h3>{% trans %}Club tools{% endtrans %}</h3>
<p><a href="{{ url('club:club_view', club_id=object.id) }}">Back to club</a></p>
<div>
{% if object.counters.filter(type="OFFICE")|count > 0 %}
<h4>{% trans %}Counters:{% endtrans %}</h4>