From 0bc709206f0f8c8d6282681b352b6e904d419305 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 9 Jun 2017 12:19:12 -0700 Subject: [PATCH] Fixes #3652 - missing groups UI element in user edit view --- resources/views/users/edit.blade.php | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php index 493921352a..3daa8ae967 100755 --- a/resources/views/users/edit.blade.php +++ b/resources/views/users/edit.blade.php @@ -369,6 +369,47 @@ + +
+ +
+ + @if ((Config::get('app.lock_passwords') || (!Auth::user()->isSuperUser()))) + + @if (count($userGroups->keys()) > 0) +
    + @foreach ($groups as $id => $group) + {!! ($userGroups->keys()->contains($id) ? '
  • '.e($group).'
  • ' : '') !!} + @endforeach +
+ @endif + + Only superadmins may edit group memberships.

+ @else +
+ + + + {{ trans('admin/users/table.groupnotes') }} + +
+ @endif + +
+
+ @if (!$user->id)