We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed977d9 commit 87d5a85Copy full SHA for 87d5a85
templates/base/head_navbar.tmpl
@@ -120,6 +120,13 @@
120
{{svg "octicon-question"}}
121
{{ctx.Locale.Tr "help"}}
122
</a>
123
+ {{if .IsAdmin}}
124
+ <div class="divider"></div>
125
+ <a class="{{if .PageIsAdmin}}active {{end}}item" href="{{AppSubUrl}}/-/admin">
126
+ {{svg "octicon-server"}}
127
+ {{ctx.Locale.Tr "admin_panel"}}
128
+ </a>
129
+ {{end}}
130
<div class="divider"></div>
131
<a class="item link-action" href data-url="{{AppSubUrl}}/user/logout">
132
{{svg "octicon-sign-out"}}
0 commit comments