Initial Commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<h2>@lang('users')</h2>
|
||||
@if(count($data->users) >= 1)
|
||||
<table>
|
||||
<tbody>
|
||||
@foreach($data->users as $user)
|
||||
<tr>
|
||||
<td class="align-middle">
|
||||
@can('users_view')
|
||||
<a href="{{route('users.show',['user' => $user])}}"
|
||||
target="_blank"
|
||||
class="btn btn-success">
|
||||
{{$user->username}}
|
||||
</a>
|
||||
@else
|
||||
{{$user->username}}
|
||||
@endcan
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
@else
|
||||
@lang('no_amount') @lang('users')
|
||||
@endif
|
||||
Reference in New Issue
Block a user