2017-08-26 12:17:04 -04:00
|
|
|
@extends('simple-layout')
|
2016-02-26 18:44:02 -05:00
|
|
|
|
2017-08-26 12:17:04 -04:00
|
|
|
@section('toolbar')
|
2016-02-26 18:44:02 -05:00
|
|
|
@include('settings/navbar', ['selected' => 'roles'])
|
2017-08-26 12:17:04 -04:00
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('body')
|
2016-02-26 18:44:02 -05:00
|
|
|
|
2016-03-05 13:09:21 -05:00
|
|
|
<div class="container small">
|
2017-08-26 12:17:04 -04:00
|
|
|
<p> </p>
|
|
|
|
<div class="card">
|
2018-02-17 14:49:00 -05:00
|
|
|
<h3>@icon('lock-open') {{ trans('settings.role_user_roles') }}</h3>
|
2017-08-26 12:17:04 -04:00
|
|
|
<div class="body">
|
|
|
|
<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-02-26 18:44:02 -05:00
|
|
|
|
2017-08-26 12:17:04 -04:00
|
|
|
<div class="form-group">
|
|
|
|
<a href="{{ baseUrl("/settings/roles/new") }}" class="button pos">{{ trans('settings.role_create') }}</a>
|
|
|
|
</div>
|
2016-05-22 05:44:31 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-02-26 18:44:02 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|