Migrate clubs

This commit is contained in:
Skia
2016-08-13 16:08:02 +02:00
parent 2e9fa1a27d
commit 4ec328556e
7 changed files with 265 additions and 138 deletions

View File

@ -16,7 +16,7 @@
<h3>{{ club.name }}</h3>
<p>{{ club.address }}</p>
<ul>
{% for m in club.members.all() %}
{% for m in club.members.filter(end_date=None).all() %}
<li>{{ m }}</li>
{% endfor %}
</ul>

View File

@ -19,6 +19,9 @@
{% if object.club_account %}
<li>Accouting: <a href="{{ url('accounting:club_details', c_account_id=object.club_account.id) }}">{{ object }}</a></li>
{% endif %}
{% if object.unix_name == settings.SITH_LAUNDERETTE_MANAGER['unix_name'] %}
<li><a href="{{ url('launderette:launderette_list') }}">{% trans %}Launderette{% endtrans %}</a></li>
{% endif %}
</ul>
{% endblock %}