Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KSZK
DevTeam
becskasszasch
Commits
b98fa3c8
Verified
Commit
b98fa3c8
authored
Aug 25, 2021
by
blint
😶
Browse files
add admin button to navbar
parent
6dfbdcdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
homepage/navbar.template.html
View file @
b98fa3c8
...
...
@@ -12,6 +12,9 @@
<ul
class=
"navbar-nav"
>
{{- if .User }}
{{- if .User.IsAdmin }}
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"/admin"
>
Admin
</a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"/topup"
>
Feltöltés
</a>
</li>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment