25 lines
768 B
PHP
25 lines
768 B
PHP
|
<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
|