Added account status badges
This commit is contained in:
@@ -131,11 +131,7 @@
|
||||
<td>{{$user->name}}</td>
|
||||
<td>{{ $user->email }}</td>
|
||||
<td>
|
||||
@if ($user->isBanned())
|
||||
<span class="badge badge-danger"><i class="fa fa-ban"></i> {{__('messages.players.banned')}}</span>
|
||||
@else
|
||||
<span class="badge badge-success">{{__('messages.players.active')}}</span>
|
||||
@endif
|
||||
<x-account-status user-id="{{ $user->id }}"></x-account-status>
|
||||
</td>
|
||||
<td>{{$user->created_at}}</td>
|
||||
<td>
|
||||
|
@@ -68,7 +68,9 @@
|
||||
@endforeach
|
||||
</td>
|
||||
<td>{{ $user->email }}</td>
|
||||
<td><span class="badge badge-success">{{__('messages.players.active')}}</span></td>
|
||||
<td>
|
||||
<x-account-status user-id="{{ $user->id }}"></x-account-status>
|
||||
</td>
|
||||
<td>{{$user->created_at}}</td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-sm btn-success mr-2" onclick="window.location.href='{{route('showSingleProfile', ['user' => $user->id])}}'"><i class="fa fa-eye"></i></button>
|
||||
|
Reference in New Issue
Block a user