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

add button for profile pic view

This commit is contained in:
Pierre-antoine Comby
2020-03-03 14:45:50 +01:00
parent 14ccc8da75
commit c4198a64af
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@
{%if request.get_full_path != user_profile_url %}
<a class="btn btn-primary btn-sm" href="{{ user_profile_url }}">{% trans 'View Profile' %}</a>
{% endif %}
<a class="btn btn-primary btn-sm" href="{% url 'member:user_update_pic' object.pk %}">{% trans 'Change Avatar' %}</a>
</div>
</div>
</div>