2020-08-23 08:06:16 +00:00
|
|
|
{% extends "member/base.html" %}
|
2020-08-25 14:30:02 +00:00
|
|
|
{% comment %}
|
|
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
{% endcomment %}
|
2020-08-25 13:39:57 +00:00
|
|
|
{% load render_table from django_tables2 %}
|
|
|
|
{% load i18n perms %}
|
2019-08-15 19:49:59 +00:00
|
|
|
|
2020-03-25 15:11:44 +00:00
|
|
|
{% block profile_content %}
|
2020-08-25 13:39:57 +00:00
|
|
|
{% if managers.data %}
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header position-relative" id="clubListHeading">
|
|
|
|
<a class="font-weight-bold">
|
|
|
|
<i class="fa fa-users"></i> {% trans "Club managers" %}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{% render_table managers %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% 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" %}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{% render_table member_list %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% 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 %}>
|
|
|
|
<i class="fa fa-euro"></i> {% trans "Transaction history" %}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div id="history_list">
|
|
|
|
{% render_table history_list %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2020-03-25 15:11:44 +00:00
|
|
|
{% endblock %}
|