2016-02-26 18:44:02 -05:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
@include('settings/navbar', ['selected' => 'roles'])
|
|
|
|
|
2016-03-05 13:09:21 -05:00
|
|
|
<div class="container small">
|
2016-02-26 18:44:02 -05:00
|
|
|
|
2016-05-22 05:44:31 -04:00
|
|
|
<div class="row action-header">
|
|
|
|
<div class="col-sm-8">
|
2016-12-04 09:08:04 -05:00
|
|
|
<h1>{{ trans('settings.role_user_roles') }}</h1>
|
2016-05-22 05:44:31 -04:00
|
|
|
</div>
|
|
|
|
<div class="col-sm-4">
|
|
|
|
<p></p>
|
2016-12-04 09:08:04 -05:00
|
|
|
<a href="{{ baseUrl("/settings/roles/new") }}" class="button float right pos"><i class="zmdi zmdi-lock-open"></i>{{ trans('settings.role_create') }}</a>
|
2016-05-22 05:44:31 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-02-27 14:24:42 -05:00
|
|
|
|
2016-02-26 18:44:02 -05:00
|
|
|
<table class="table">
|
|
|
|
<tr>
|
2016-12-04 09:08:04 -05:00
|
|
|
<th>{{ trans('settings.role_name') }}</th>
|
2016-02-26 18:44:02 -05:00
|
|
|
<th></th>
|
2016-12-31 09:27:40 -05:00
|
|
|
<th class="text-center">{{ trans('settings.users') }}</th>
|
2016-02-26 18:44:02 -05:00
|
|
|
</tr>
|
|
|
|
@foreach($roles as $role)
|
|
|
|
<tr>
|
2016-08-14 07:29:35 -04:00
|
|
|
<td><a href="{{ baseUrl("/settings/roles/{$role->id}") }}">{{ $role->display_name }}</a></td>
|
2016-02-26 18:44:02 -05:00
|
|
|
<td>{{ $role->description }}</td>
|
2016-12-31 09:27:40 -05:00
|
|
|
<td class="text-center">{{ $role->users->count() }}</td>
|
2016-02-26 18:44:02 -05:00
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|