Verified Commit b98fa3c8 authored by blint's avatar blint 😶
Browse files

add admin button to navbar

parent 6dfbdcdd
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment