]> BookStack Code Mirror - bookstack/blob - resources/views/settings/roles/index.blade.php
Spanish translation
[bookstack] / resources / views / settings / roles / index.blade.php
1 @extends('simple-layout')
2
3 @section('toolbar')
4     @include('settings/navbar', ['selected' => 'roles'])
5 @stop
6
7 @section('body')
8
9     <div class="container small">
10         <p>&nbsp;</p>
11         <div class="card">
12             <h3>@icon('lock-open') {{ trans('settings.role_user_roles') }}</h3>
13             <div class="body">
14                 <table class="table">
15                     <tr>
16                         <th>{{ trans('settings.role_name') }}</th>
17                         <th></th>
18                         <th class="text-center">{{ trans('settings.users') }}</th>
19                     </tr>
20                     @foreach($roles as $role)
21                         <tr>
22                             <td><a href="{{ baseUrl("/settings/roles/{$role->id}") }}">{{ $role->display_name }}</a></td>
23                             <td>{{ $role->description }}</td>
24                             <td class="text-center">{{ $role->users->count() }}</td>
25                         </tr>
26                     @endforeach
27                 </table>
28
29                 <div class="form-group">
30                     <a href="{{ baseUrl("/settings/roles/new") }}" class="button pos">{{ trans('settings.role_create') }}</a>
31                 </div>
32             </div>
33         </div>
34     </div>
35
36 @stop