From 52455172a6f6d6d5beff0d6051513030b55fe52e Mon Sep 17 00:00:00 2001 From: Sage Pointer Date: Sun, 12 Aug 2018 19:06:26 +0200 Subject: [PATCH] Hide org/create menu item in Dashboard if user has no rights (#4678) --- 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 0a395bc32968e..c6b723b012d01 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}}