mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-25 02:24:26 +00:00
Add link to counters in club tools
This commit is contained in:
parent
50efc07eaa
commit
9429dbccc2
@ -4,6 +4,18 @@
|
|||||||
<h3>Club tools</h3>
|
<h3>Club tools</h3>
|
||||||
<p><a href="{{ url('club:club_view', club_id=object.id) }}">Back to club</a></p>
|
<p><a href="{{ url('club:club_view', club_id=object.id) }}">Back to club</a></p>
|
||||||
<ul>
|
<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 %}
|
{% if object.club_account %}
|
||||||
<li>Accouting: <a href="{{ url('accounting:club_details', c_account_id=object.club_account.id) }}">{{ object }}</a></li>
|
<li>Accouting: <a href="{{ url('accounting:club_details', c_account_id=object.club_account.id) }}">{{ object }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user