frontend translation + other stuff

This commit is contained in:
lordwilbur
2018-05-21 09:54:18 -05:00
committed by Nabeel Shahzad
parent ba8a819c7d
commit a346b0df2e
54 changed files with 966 additions and 771 deletions
@@ -28,7 +28,7 @@
{{-- There are files uploaded and a user is logged in--}}
@if(count($airport->files) > 0 && Auth::check())
<div class="col-12">
<h3>{{ __trans_choice('Download', 2) }}</h3>
<h3>{{ trans_choice('frontend.global.download', 2) }}</h3>
@include('downloads.table', ['files' => $airport->files])
</div>
@endif
@@ -36,19 +36,19 @@
<div class="row">
<div class="col-6">
<h5>{{ __('Inbound Flights') }}</h5>
<h5>@lang('frontend.airports.inboundflights')</h5>
@if(!$inbound_flights)
<div class="jumbotron text-center">
{{ __('No Flight Found') }}
@lang('frontend.airports.noflightfound')
</div>
@else
<table class="table table-striped table-condensed">
<thead>
<tr>
<th class="text-left">{{ __('Ident') }}</th>
<th class="text-left">{{ __('From') }}</th>
<th>{{ __('Departure') }}</th>
<th>{{ __('Arrival') }}</th>
<th class="text-left">@lang('frontend.airports.ident')</th>
<th class="text-left">@lang('frontend.global.from')</th>
<th>@lang('frontend.global.departure')</th>
<th>@lang('frontend.global.arrival')</th>
</tr>
</thead>
@foreach($inbound_flights as $flight)
@@ -71,19 +71,19 @@
</div>
<div class="col-6">
<h5>{{ __('Outbound Flights') }}</h5>
<h5>@lang('frontend.airports.outboundflights')</h5>
@if(!$outbound_flights)
<div class="jumbotron text-center">
{{ __('No Flight Found') }}
@lang('frontend.airports.noflightfound')
</div>
@else
<table class="table table-striped table-condensed">
<thead>
<tr>
<th class="text-left">{{ __('Ident') }}</th>
<th class="text-left">{{ __('To') }}</th>
<th>{{ __('Departure') }}</th>
<th>{{ __('Arrival') }}</th>
<th class="text-left">@lang('frontend.airports.ident')</th>
<th class="text-left">@lang('frontend.global.to')</th>
<th>@lang('frontend.global.departure')</th>
<th>@lang('frontend.global.arrival')</th>
</tr>
</thead>
@foreach($outbound_flights as $flight)