mirror of
https://github.com/nfonteyne/octane-website.git
synced 2026-09-03 23:24:48 +02:00
update: link to authentik to change password if needed
This commit is contained in:
parent
7e4b067e54
commit
09b7b0bc10
6 changed files with 35 additions and 2 deletions
|
|
@ -34,6 +34,7 @@ async function initNav(activePage) {
|
|||
</div>
|
||||
<div class="nav-user">
|
||||
<button type="button" class="icon-btn secondary" id="theme-toggle" title="Changer de thème" aria-label="Changer de thème"></button>
|
||||
${me.authentikAccountUrl ? `<a href="${escapeHtml(me.authentikAccountUrl)}" target="_blank" rel="noopener" title="Gérer mon compte Authentik (mot de passe, etc.)">Mon compte</a>` : ''}
|
||||
<a class="nav-profile-link" href="/profile.html">
|
||||
${avatarHtml(me, 'avatar-sm')}
|
||||
<span>${escapeHtml(me.name)}${me.isAdmin ? ' <span class="badge">admin</span>' : ''}</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue