mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-18 12:13:24 +00:00
27 lines
846 B
Django/Jinja
27 lines
846 B
Django/Jinja
{% extends "core/base.jinja" %}
|
|
|
|
{% block content %}
|
|
<h3>Club tools</h3>
|
|
<p><a href="{{ url('club:club_view', club_id=object.id) }}">Back to club</a></p>
|
|
<ul>
|
|
{% if object.counters.all()|count > 0 %}
|
|
<li>Counters:
|
|
<ul>
|
|
{% for c in object.counters.all() %}
|
|
<li>{{ c }}:
|
|
<a href="{{ url('counter:details', counter_id=c.id) }}">View</a>
|
|
<a href="{{ url('counter:admin', counter_id=c.id) }}">Edit</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
{% endif %}
|
|
{% if object.club_account %}
|
|
<li>Accouting: <a href="{{ url('accounting:club_details', c_account_id=object.club_account.id) }}">{{ object }}</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
{% endblock %}
|
|
|
|
|
|
|