Files
This commit is contained in:
@ -4,24 +4,24 @@
|
||||
<div class="row page-heading">
|
||||
<div class="col-md-12 h3">{{$user->name}}</div>
|
||||
</div>
|
||||
<a href="{{nUrl('admin', 'reset_user', ['user' => $user->id])}}">
|
||||
<a href="{{$urls->base}}/admin/user/{{$user->id}}/reset">
|
||||
Resetear Clave
|
||||
</a>
|
||||
<div class="section-heading row">
|
||||
<div class="col-md-6 h4">Roles</div>
|
||||
<div class="col-md-6 h4 text-right"><a href="{{url('', ['p' => 'admin', 'a' => 'add_user_role', 'user' => $user->id])}}"><span class="glyphicon glyphicon-plus"></span></a></div>
|
||||
<div class="col-md-6 h4 text-right"><a href="{{$url->base}}/admin/user/{{$user->id}}/roles/add"><span class="glyphicon glyphicon-plus"></span></a></div>
|
||||
</div>
|
||||
<table class="table">
|
||||
@foreach ($user->roles() as $role)
|
||||
<tr>
|
||||
<td><a href="{{nUrl('admin', 'role', ['role' => $role->id])}}">{{$role->description}}</a></td>
|
||||
<td><a href="{{url('', ['p' => 'admin', 'a' => 'remove_user_role', 'user' => $user->id, 'role' => $role->id])}}"><span class="glyphicon glyphicon-minus"></span></a></td>
|
||||
<td><a href="{{$urls->base}}/admin/role/{{$role->id}}">{{$role->description}}</a></td>
|
||||
<td><a href="{{$urls->base}}/admin/user/{{$user->id}}/role/{{$role->id}}/remove"><span class="glyphicon glyphicon-minus"></span></a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</table>
|
||||
<div class="row section-heading">
|
||||
<div class="col-md-6 h4">Permisos</div>
|
||||
<div class="col-md-6 h4 text-right"><a href="{{nUrl('admin', 'add_user_permissions', ['user' => $user->id])}}"><span class="glyphicon glyphicon-plus"></span></a></div>
|
||||
<div class="col-md-6 h4 text-right"><a href="{{$urls->base}}/admin/user/{{$user->id}}/permissions/add"><span class="glyphicon glyphicon-plus"></span></a></div>
|
||||
</div>
|
||||
@if ($user->permissions())
|
||||
<table class="table">
|
||||
|
Reference in New Issue
Block a user