feat: add Settings, Blocked, and Admin nav links; add is_admin to HtmlPageContext

This commit is contained in:
2026-05-12 01:12:16 +02:00
parent f0620f5aa1
commit 40c0f634d4
3 changed files with 16 additions and 5 deletions

View File

@@ -34,6 +34,11 @@
<a href="/users/{{ uid }}">Profile</a>
<a href="/reviews/new">Add Review</a>
<a href="/import">Import</a>
<a href="/social/blocked">Blocked</a>
<a href="/settings/profile">Settings</a>
{% if ctx.is_admin %}
<a href="/admin/blocked-domains">Admin</a>
{% endif %}
<a href="/logout">Logout</a>
{% else %}
<a href="/login">Login</a>