Adds link to admin view

This commit is contained in:
Mouse Reeve 2022-03-24 10:43:17 -07:00
parent 951b611881
commit 533642bf7e

View file

@ -14,6 +14,10 @@
{% endif %} {% endif %}
<p class="mt-2"><a href="{{ user.local_path }}">{% trans "View user profile" %}</a></p> <p class="mt-2"><a href="{{ user.local_path }}">{% trans "View user profile" %}</a></p>
{% url 'settings-user' user.id as url %}
{% if not request.path == url %}
<p class="mt-2"><a href="{{ url }}">{% trans "Go to user admin" %}</a></p>
{% endif %}
</div> </div>
</div> </div>
<div class="column is-flex is-flex-direction-column is-4"> <div class="column is-flex is-flex-direction-column is-4">