2020-03-25 15:11:44 +00:00
|
|
|
{% load render_table from django_tables2 %}
|
|
|
|
{% load i18n %}
|
2020-08-03 16:49:15 +00:00
|
|
|
{% load perms %}
|
|
|
|
|
2020-07-31 15:01:52 +00:00
|
|
|
{% if managers.data %}
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header position-relative" id="clubListHeading">
|
2020-08-01 13:35:45 +00:00
|
|
|
<a class="font-weight-bold">
|
2020-07-31 15:01:52 +00:00
|
|
|
<i class="fa fa-users"></i> {% trans "Club managers" %}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{% render_table managers %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
{% endif %}
|
|
|
|
|
2020-04-12 00:07:13 +00:00
|
|
|
{% if member_list.data %}
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header position-relative" id="clubListHeading">
|
2020-08-01 13:35:45 +00:00
|
|
|
<a class="stretched-link font-weight-bold" href="{% url 'member:club_members' pk=club.pk %}">
|
2020-07-31 11:17:16 +00:00
|
|
|
<i class="fa fa-users"></i> {% trans "Club members" %}
|
2020-04-12 00:07:13 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
2020-04-06 17:51:39 +00:00
|
|
|
{% render_table member_list %}
|
2020-04-12 00:07:13 +00:00
|
|
|
</div>
|
2020-03-25 15:11:44 +00:00
|
|
|
|
2020-04-12 00:07:13 +00:00
|
|
|
<hr>
|
|
|
|
{% endif %}
|
2020-04-06 17:51:39 +00:00
|
|
|
|
2020-04-12 00:07:13 +00:00
|
|
|
{% if history_list.data %}
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header position-relative" id="historyListHeading">
|
2020-08-03 16:49:15 +00:00
|
|
|
<a class="stretched-link font-weight-bold" {% if "note.view_note"|has_perm:club.note %} href="{% url 'note:transactions' pk=club.note.pk %}" {% endif %}>
|
2020-04-12 00:07:13 +00:00
|
|
|
<i class="fa fa-euro"></i> {% trans "Transaction history" %}
|
|
|
|
</a>
|
|
|
|
</div>
|
2020-04-06 17:51:39 +00:00
|
|
|
<div id="history_list">
|
|
|
|
{% render_table history_list %}
|
|
|
|
</div>
|
2020-04-12 00:07:13 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|