@extends('app') @section('title', __('common.profile')) @section('content')
@if ($user->avatar == null) @else @endif

{{ $user->airline->name }}

{{ $user->flights}}

Flights

@if($user->current_airport)
@endif @if(setting('pilots.allow_transfer_hours') === true)
@endif
{{-- Show the user's award if they have any --}} @if ($user->awards)

@lang('profile.your-awards')

@foreach($user->awards->chunk(3) as $awards)
@foreach($awards as $award) @endforeach
@endforeach
@endif {{-- show the details/edit fields only for the currently logged in user --}} @if(Auth::check() && $user->id === Auth::user()->id)
@if (isset($acars) && $acars === true) ACARS Config   @endif @lang('profile.newapikey')   @lang('common.edit')

@lang('profile.your-profile')

@lang('common.email') {{ $user->email }}
@lang('profile.apikey')  (@lang('profile.dontshare')) @lang('profile.apikey-show')
@lang('common.timezone') {{ $user->timezone }}
@lang('profile.opt-in') {{ $user->opt_in ? __('common.yes') : __('common.no') }}
@endif
@foreach($userFields as $field) @if($field->public === true) @endif @endforeach
{{ $field->name }} {{ $field->value }}
@endsection @section('scripts') @endsection