mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-07 03:00:59 +01:00
Backport #36010 by @wxiaoguang Fix #35904 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
parent
eaa916a786
commit
f6895f632e
@ -120,6 +120,13 @@
|
||||
{{svg "octicon-question"}}
|
||||
{{ctx.Locale.Tr "help"}}
|
||||
</a>
|
||||
{{if .IsAdmin}}
|
||||
<div class="divider"></div>
|
||||
<a class="{{if .PageIsAdmin}}active {{end}}item" href="{{AppSubUrl}}/-/admin">
|
||||
{{svg "octicon-server"}}
|
||||
{{ctx.Locale.Tr "admin_panel"}}
|
||||
</a>
|
||||
{{end}}
|
||||
<div class="divider"></div>
|
||||
<a class="item link-action" href data-url="{{AppSubUrl}}/user/logout">
|
||||
{{svg "octicon-sign-out"}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user