fix: restore profile card layout, simplify user menu to My Account and Log out

This commit is contained in:
2026-06-14 09:34:27 -04:00
parent 379158ac93
commit 8fbc0f164a
2 changed files with 2 additions and 7 deletions

View File

@@ -169,11 +169,6 @@ if (!isset($user) || $user === null) {
</div>
<div class="dropdown-divider"></div>
<a href="/profile" class="dropdown-item"><i class="fas fa-user-cog"></i> My Account</a>
<?php if (is_admin() || is_super_admin()): ?>
<div class="dropdown-divider"></div>
<a href="/admin/audit" class="dropdown-item"><i class="fas fa-history"></i> Audit Log</a>
<a href="/admin/users" class="dropdown-item"><i class="fas fa-users-cog"></i> Administration</a>
<?php endif; ?>
<div class="dropdown-divider"></div>
<form method="POST" action="/logout" style="padding:0;margin:0">
<input type="hidden" name="_csrf_token" value="<?= $this->csrfToken() ?>">