1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-24 08:22:22 +00:00
nk20/templates/member/profile_tables.html

33 lines
1.2 KiB
HTML
Raw Normal View History

{% load render_table from django_tables2 %}
{% load i18n %}
2020-04-05 07:48:23 +00:00
{% load perms %}
{% if not object.profile.email_confirmed and "member.change_profile_email_confirmed"|has_perm:user_object.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." %}
<a href="{% url "registration:email_validation_resend" pk=user_object.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">
<a class="font-weight-bold">
2020-04-06 17:51:39 +00:00
<i class="fa fa-users"></i> {% trans "View my memberships" %}
</a>
</div>
2020-04-06 17:51:39 +00:00
{% render_table club_list %}
</div>
<hr>
2020-04-06 17:51:39 +00:00
<div class="card">
<div class="card-header position-relative" id="historyListHeading">
<a class="stretched-link font-weight-bold" {% if "note.view_note"|has_perm:user_object.note %} href="{% url 'note:transactions' pk=user_object.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 %}
</div>
</div>