added admin panel access on the account page for admins
This commit is contained in:
parent
77f231c913
commit
b1fc5edc6e
1 changed files with 5 additions and 1 deletions
|
@ -5,6 +5,9 @@
|
|||
<p class="subnav">
|
||||
<a href="/account/new_tag">New tag</a>
|
||||
<a href="/account/settings">Account settings</a>
|
||||
{% if user.is_admin %}
|
||||
<a href="/admin">Admin panel</a>
|
||||
{% endif %}
|
||||
<a href="/logout">Log out</a>
|
||||
</p>
|
||||
</aside>
|
||||
|
@ -39,7 +42,8 @@
|
|||
<summary>show the QR code</summary>
|
||||
|
||||
<picture class="block">
|
||||
<img loading="lazy" src="/account/qr-png/{{profile.id}}" alt="A QrCode containing a direct link to the profile" />
|
||||
<img loading="lazy" src="/account/qr-png/{{profile.id}}"
|
||||
alt="A QrCode containing a direct link to the profile" />
|
||||
</picture>
|
||||
</details>
|
||||
</article>
|
||||
|
|
Loading…
Add table
Reference in a new issue