Disabled statistics

This commit is contained in:
Eduard Urbach 2017-11-02 11:07:33 +01:00
parent c58679834d
commit da5c900e3d

View File

@ -25,7 +25,10 @@ component Sidebar(user *arn.User)
SidebarButton("Groups", "/groups", "users") SidebarButton("Groups", "/groups", "users")
SidebarButton("Shop", "/shop", "shopping-cart") SidebarButton("Shop", "/shop", "shopping-cart")
SidebarButton("Statistics", "/statistics", "pie-chart")
if user.Role == "admin" || user.Role == "editor"
SidebarButton("Statistics", "/statistics", "pie-chart")
SidebarButton("Settings", "/settings", "cog") SidebarButton("Settings", "/settings", "cog")
.spacer .spacer