2017-08-26 18:17:04 +02:00
|
|
|
@extends('simple-layout')
|
2016-02-27 00:44:02 +01:00
|
|
|
|
2017-08-26 18:17:04 +02:00
|
|
|
@section('body')
|
2016-02-27 00:44:02 +01:00
|
|
|
|
2016-03-05 19:09:21 +01:00
|
|
|
<div class="container small">
|
2019-02-02 16:49:57 +01:00
|
|
|
|
|
|
|
<div class="py-m">
|
|
|
|
@include('settings/navbar', ['selected' => 'roles'])
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card content-wrap auto-height">
|
|
|
|
|
|
|
|
<div class="grid half v-center">
|
|
|
|
<h1 class="list-heading">{{ trans('settings.role_user_roles') }}</h1>
|
|
|
|
|
|
|
|
<div class="text-right">
|
|
|
|
<a href="{{ baseUrl("/settings/roles/new") }}" class="button outline">{{ trans('settings.role_create') }}</a>
|
2017-08-26 18:17:04 +02:00
|
|
|
</div>
|
2016-05-22 11:44:31 +02:00
|
|
|
</div>
|
2019-02-02 16:49:57 +01:00
|
|
|
|
|
|
|
<table class="table">
|
|
|
|
<tr>
|
|
|
|
<th>{{ trans('settings.role_name') }}</th>
|
|
|
|
<th></th>
|
|
|
|
<th class="text-center">{{ trans('settings.users') }}</th>
|
|
|
|
</tr>
|
|
|
|
@foreach($roles as $role)
|
|
|
|
<tr>
|
|
|
|
<td><a href="{{ baseUrl("/settings/roles/{$role->id}") }}">{{ $role->display_name }}</a></td>
|
|
|
|
<td>{{ $role->description }}</td>
|
|
|
|
<td class="text-center">{{ $role->users->count() }}</td>
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
2016-05-22 11:44:31 +02:00
|
|
|
</div>
|
2016-02-27 00:44:02 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|