From cbe8a1f0e6d6c2f30a730acc507616e3b4acff18 Mon Sep 17 00:00:00 2001 From: SagePtr Date: Mon, 13 Aug 2018 13:22:15 +0200 Subject: [PATCH] Hide org/create menu item in Dashboard if user has no rights (#4678) (#4686) --- templates/user/dashboard/navbar.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/user/dashboard/navbar.tmpl b/templates/user/dashboard/navbar.tmpl index 0a395bc32..c6b723b01 100644 --- a/templates/user/dashboard/navbar.tmpl +++ b/templates/user/dashboard/navbar.tmpl @@ -23,9 +23,11 @@ {{end}} + {{if .SignedUser.CanCreateOrganization}}    {{.i18n.Tr "new_org"}} + {{end}}