2020-07-30 06:42:01 +00:00
|
|
|
@extends("admin.layout.base")
|
|
|
|
@extends("admin.layout.header")
|
|
|
|
|
|
|
|
@section("title")
|
|
|
|
Account
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section("path")
|
|
|
|
<a href="" class="text-white">Profil Oplysninger</a> /
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section("content")
|
2020-11-24 12:14:25 +00:00
|
|
|
<table class="tbl mt-2 fixOverflow">
|
2020-07-30 06:42:01 +00:00
|
|
|
<tr>
|
|
|
|
<th>Fornavn</th>
|
|
|
|
<th>Efternavn</th>
|
|
|
|
<th>Email</th>
|
|
|
|
<th>Tlf nr</th>
|
|
|
|
<th>Rolle(r)</th>
|
2020-11-26 09:19:12 +00:00
|
|
|
<th class="w-1em"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
|
2020-07-30 06:42:01 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>{{ Auth::user()->name_first }}</td>
|
|
|
|
<td>{{ Auth::user()->name_last }}</td>
|
|
|
|
<td>{{ Auth::user()->email }}</td>
|
|
|
|
<td>{{ Auth::user()->phone }}</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
@for($i = 0; $i < count(Auth::user()->roles); $i++)
|
|
|
|
@if(count(Auth::user()->roles)-1 != $i)
|
|
|
|
{{Auth::user()->roles[$i]->name}},
|
|
|
|
@else
|
|
|
|
{{Auth::user()->roles[$i]->name}}
|
|
|
|
@endif
|
|
|
|
@endfor
|
|
|
|
</td>
|
|
|
|
<td><a href="{{ route("users.edit", [ "user" => Auth::user()->id ]) }}"><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
@endsection
|