@extends("admin.layout.base") @extends("admin.layout.header") @section("title") Bruger - Vis @endsection @section("path") Vis Brugere / @endsection @section("content")
Fornavn | Efternavn | Tlf nr | Rolle(r) | @if(auth()->user()->can('user.edit')) | @endif @if(auth()->user()->can('user.delete')) | @endif | ||
---|---|---|---|---|---|---|---|---|
{{ $user->name_first }} | {{ $user->name_last }} | {{ $user->email }} | {{ $user->phone }} | @for($i = 0; $i < count($user->roles); $i++) @if(count($user->roles)-1 != $i) {{$user->roles[$i]->name}}, @else {{$user->roles[$i]->name}} @endif @endfor | @if($user->resource_id !== null)resource_id)->first()->filename) }}" class="showUserImages"> | @else@endif @if(auth()->user()->can('user.edit')) | $user->id ]) }}"> | @endif @if(auth()->user()->can('user.delete'))@endif |