Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe 2022-06-30 14:20:34 -07:00
commit 97afafdd48
2 changed files with 4 additions and 8 deletions

View file

@ -632,7 +632,7 @@ class UsersController extends Controller
{
$user= User::where('id', $id)->first();
$user->notify((new CurrentInventory($user)));
return redirect()->back()->with('success', 'admin/users/general.user_notified');
return redirect()->back()->with('success', trans('admin/users/general.user_notified'));
}
return redirect()->back()->with('error', 'admin/accessories/message.user_does_not_exist');

View file

@ -280,13 +280,9 @@
<div class="col-md-9">
@if ($user->isSuperUser())
<label class="label label-danger">
<i class="fas fa-crown" title="superuser"></i>
</label>&nbsp;
<label class="label label-danger"><i class="fas fa-crown" title="superuser"></i></label>&nbsp;
@elseif ($user->hasAccess('admin'))
<label class="label label-warning">
<i class="fas fa-crown" title="admin"></i>
</label>&nbsp;
<label class="label label-warning"><i class="fas fa-crown" title="admin"></i></label>&nbsp;
@endif
{{ $user->username }}