forked from mirrors/bookwyrm
Adds link to admin view
This commit is contained in:
parent
951b611881
commit
533642bf7e
1 changed files with 4 additions and 0 deletions
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue