2020-03-25 15:11:44 +00:00
|
|
|
{% load render_table from django_tables2 %}
|
|
|
|
{% load i18n %}
|
2020-04-05 07:48:23 +00:00
|
|
|
{% load perms %}
|
|
|
|
|
2020-08-03 16:49:15 +00:00
|
|
|
{% if not object.profile.email_confirmed and "member.change_profile_email_confirmed"|has_perm:user.profile %}
|
2020-04-05 07:48:23 +00:00
|
|
|
<div class="alert alert-warning">
|
|
|
|
{% trans "This user doesn't have confirmed his/her e-mail address." %}
|
2020-08-03 16:49:15 +00:00
|
|
|
<a href="{% url "registration:email_validation_resend" pk=user.pk %}">{% trans "Click here to resend a validation link." %}</a>
|
2020-04-05 07:48:23 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2020-04-06 17:51:39 +00:00
|
|
|
<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-04-06 17:51:39 +00:00
|
|
|
<i class="fa fa-users"></i> {% trans "View my memberships" %}
|
|
|
|
</a>
|
2020-03-25 15:11:44 +00:00
|
|
|
</div>
|
2020-04-06 17:51:39 +00:00
|
|
|
{% render_table club_list %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr>
|
2020-03-25 15:11:44 +00:00
|
|
|
|
2020-04-06 17:51:39 +00:00
|
|
|
<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:user.note %} href="{% url 'note:transactions' pk=user.note.pk %}" {% endif %}>
|
2020-04-06 17:51:39 +00:00
|
|
|
<i class="fa fa-euro"></i> {% trans "Transaction history" %}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div id="history_list">
|
|
|
|
{% render_table history_list %}
|
2020-03-25 15:11:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|