@extends('app') @section('title', 'dashboard') @section('content')

{{ $user->flights }}

{{ str_plural('flight', $user->flights) }}

{{ \App\Facades\Utils::minutesToTimeString($user->flight_time, false)}}

total hours
@if($user->current_airport)

{{ $user->current_airport->icao }}

@else

-

@endif
current airport
@if($last_pirep === null)
No reports yet. File one now.
@else @include('pireps.pirep_card', ['pirep' => $last_pirep]) @endif {{ Widget::latestNews(['count' => 1]) }}
{{-- Sidebar --}}
{{ Widget::checkWx(['icao' => $current_airport]) }}
{{ Widget::latestPireps(['count' => 5]) }}
{{ Widget::latestPilots(['count' => 5]) }}
@endsection