1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-27 10:53:02 +00:00
nk20/templates/member/club_tables.html

43 lines
1.3 KiB
HTML
Raw Normal View History

{% load render_table from django_tables2 %}
{% load i18n %}
{% load perms %}
2020-07-31 15:01:52 +00:00
{% if managers.data %}
<div class="card">
<div class="card-header position-relative" id="clubListHeading">
<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">
<a class="stretched-link font-weight-bold" href="{% url 'member:club_members' pk=club.pk %}">
<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-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">
<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 %}