From 151f1888867bc7647be3feaadd4968ca864f9fd4 Mon Sep 17 00:00:00 2001 From: Botric <66216920+Botric@users.noreply.github.com> Date: Sat, 10 Oct 2020 20:24:28 +0100 Subject: [PATCH] Update pirep_card.blade.php (#857) Update pirep_card.blade.php --- .../default/dashboard/pirep_card.blade.php | 68 ++++++------------- 1 file changed, 19 insertions(+), 49 deletions(-) diff --git a/resources/views/layouts/default/dashboard/pirep_card.blade.php b/resources/views/layouts/default/dashboard/pirep_card.blade.php index 012a3635..8f469672 100644 --- a/resources/views/layouts/default/dashboard/pirep_card.blade.php +++ b/resources/views/layouts/default/dashboard/pirep_card.blade.php @@ -1,11 +1,7 @@
- -
-
- @if($pirep->state === PirepState::PENDING) -
- @elseif($pirep->state === PirepState::ACCEPTED) -
- @elseif($pirep->state === PirepState::REJECTED) -
- @else -
- @endif - {{ PirepState::label($pirep->state) }}
-
-
-
-
-
- - - - - - - - - - @if($pirep->level) - - - - - @endif - - - - -
@lang('pireps.flighttime') @minutestotime($pirep->flight_time)
@lang('common.aircraft') {{ $pirep->aircraft->name }} - ({{ $pirep->aircraft->registration }}) -
@lang('pireps.flightlevel') {{ $pirep->level }}
@lang('pireps.filedon'): {{ show_datetime($pirep->created_at) }}
-
-
-
+
+
+ @if($pirep->state === PirepState::PENDING) +
+ @elseif($pirep->state === PirepState::ACCEPTED) +
+ @elseif($pirep->state === PirepState::REJECTED) +
+ @else +
+ @endif + {{ PirepState::label($pirep->state) }}
+ @lang('common.edit') +
+