This commit is contained in:
2017-10-02 06:29:58 +02:00
parent 4e5472260d
commit 93ed7378ae
9 changed files with 18 additions and 7 deletions

View File

@ -23,6 +23,9 @@ component Sidebar(user *arn.User)
SidebarButton("Statistics", "/statistics", "pie-chart")
SidebarButton("Settings", "/settings", "cog")
if user.Role == "admin"
SidebarButton("Admin", "/admin", "wrench")
.spacer
.sidebar-link(aria-label="Search")