FEATURE: add another permissions

This commit is contained in:
Michal Kváček
2017-08-22 23:27:23 +02:00
parent 1050271915
commit 0aaa626124
13 changed files with 93 additions and 25 deletions
@@ -3,6 +3,11 @@
@section('pageHeading', @trans('admin/userManagement.overview'))
@section('headerButtons')
<a class="btn rounded btn-primary" href="{{route('users.new')}}">
<i class="fa fa-plus"></i>
</a>
@foreach($statuses as $status => $translation)
<a class="btn rounded @if($status != $currentStatus) btn-secondary @else btn-primary @endif"
href="{{route('users.overview', ['status' => $status])}}">{{$translation}}</a>