From a9069e65e5bf10d855750853d53f25b8f10303db Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 4 Mar 2022 04:39:39 -0800 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20show=20groups=20in=20menu=20if?= =?UTF-8?q?=20there=20are=20none=20yet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: snipe --- resources/views/users/edit.blade.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php index a2a5ebef0d..ae7fbfa70a 100755 --- a/resources/views/users/edit.blade.php +++ b/resources/views/users/edit.blade.php @@ -461,6 +461,7 @@
+ @if ($groups->count()) @if ((Config::get('app.lock_passwords') || (!Auth::user()->isSuperUser()))) @if (count($userGroups->keys()) > 0) @@ -494,6 +495,9 @@
@endif + @else +

No groups have been created yet. Visit Admin Settings > Permission Groups to add one.

+ @endif