1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 18:08:21 +02:00

Paginate memberships and transactions

This commit is contained in:
Yohann D'ANELLO
2020-04-06 19:51:39 +02:00
parent 6fedbe2a2a
commit e067b19d41
7 changed files with 70 additions and 62 deletions

View File

@ -44,7 +44,7 @@
<div class="card-footer text-center">
<a class="btn btn-primary btn-sm" href="{% url 'member:user_update_profile' object.pk %}">{% trans 'Update Profile' %}</a>
{% url 'member:user_detail' object.pk as user_profile_url %}
{%if request.get_full_path != user_profile_url %}
{%if request.path_info != user_profile_url %}
<a class="btn btn-primary btn-sm" href="{{ user_profile_url }}">{% trans 'View Profile' %}</a>
{% endif %}
</div>