feat: move Settings/Blocked/Admin links to profile page own-account section

This commit is contained in:
2026-05-12 01:14:43 +02:00
parent f23392751d
commit 2da2075d03
2 changed files with 8 additions and 5 deletions

View File

@@ -34,11 +34,6 @@
<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>

View File

@@ -66,6 +66,14 @@
<a href="/diary/export?format=csv">Download CSV</a>
<a href="/diary/export?format=json">Download JSON</a>
</section>
<section class="profile-manage">
<h3>Account</h3>
<a href="/settings/profile">Profile settings</a>
<a href="/social/blocked">Blocked users</a>
{% if ctx.is_admin %}
<a href="/admin/blocked-domains">Admin — blocked domains</a>
{% endif %}
</section>
{% endif %}
<div class="view-tabs">