'Logged in as' show alert

This commit is contained in:
Teajey 2025-12-08 01:16:18 +09:00
parent 609ccfc0c4
commit 2291a338e6
Signed by: Teajey
GPG Key ID: 970E790FE834A713
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@
<li class="nav-item">
<div class="dropdown">
<button class="nav-link dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
Logged in as '{{.Name}}'
Logged in as '{{.Name}}'{{if and $.AccountLink $.AccountLink.Alert}} <span class="badge text-bg-danger">!</span>{{end}}
</button>
<ul class="dropdown-menu">
{{with $.AccountLink}}