2020-01-01 03:18:06 +01:00
|
|
|
@extends('layout.app')
|
|
|
|
|
|
|
|
@section('left-menu')
|
|
|
|
@parent
|
|
|
|
<ul>
|
2020-01-05 14:36:21 +01:00
|
|
|
<a href="/userprofile"><li>Mój profil<img src="/img/left_menu_icon/edit.png"></li></a>
|
|
|
|
<a href="/userprofile/edit"><li>Edytuj profil<img src="/img/left_menu_icon/edit.png"></li></a>
|
|
|
|
<a href="/userprofile/szkolenia"><li>Szkolenia<img src="/img/left_menu_icon/more.png"></li></a>
|
|
|
|
<a href="/userprofile/passwordchange"><li>Zmiana hasła<img src="/img/left_menu_icon/edit.png"></li></a>
|
2020-01-01 03:18:06 +01:00
|
|
|
</ul>
|
|
|
|
@stop
|
|
|
|
@section('center-area')
|
|
|
|
@parent
|
|
|
|
|
|
|
|
@if( auth()->check())
|
|
|
|
@if( auth()->user()->fireStationID == NULL)
|
|
|
|
Jednostka nie istnieje
|
|
|
|
@else
|
|
|
|
@if(count($userDecorations) > 0)
|
|
|
|
<p align='center'>
|
|
|
|
<table class='firefighterViewTable'>
|
|
|
|
<tr class='table-header'>
|
|
|
|
<td>Odznaczenie</td>
|
2020-01-05 14:36:21 +01:00
|
|
|
<td>Data przyznania</td>
|
2020-01-01 03:18:06 +01:00
|
|
|
@foreach($userDecorations as $userDecoration)
|
|
|
|
<tr>
|
|
|
|
<td id="decorationName{{ $userDecoration->id }}">{{ $userDecoration->decorationName }}</td>
|
|
|
|
<td id="amount{{ $userDecoration->id }}">{{ $userDecoration->dateOfAward }}</td>
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</table>
|
|
|
|
</p>
|
2020-01-05 14:36:21 +01:00
|
|
|
@else
|
2020-01-01 03:18:06 +01:00
|
|
|
Nie posiadasz jeszcze żadnych odznaczeń.
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
@else
|
|
|
|
Brak autoryzacji
|
|
|
|
@endif
|
|
|
|
|
2020-01-05 14:36:21 +01:00
|
|
|
@stop
|