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