- fixed an error on finance in admin panel

- flight ident now use this format: VA IATA(if empty ICAO) + Flight Number + - + Flight Code (without C) + - + Flight Leg (without L)
- added function __trans_choice in helpers.php for translation
- fixed error in flight edit/insert panel not showing/inserting Tuesday in days
- fixed an error occurring when metar retrieved is empty
- edited now-ui-kit.css to align login fields correctly
- added /public/assets/frontend/js/core/jquery-3.3.1.min.js to fix a missed resource error in authentication pages
- added translations file for en and it locales
- translated all the frontend templates
This commit is contained in:
lordwilbur
2018-05-21 09:53:08 -05:00
committed by Nabeel Shahzad
parent 77a2fd70c3
commit ba8a819c7d
58 changed files with 1126 additions and 262 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>Downloads</h3>
<h3>{{ __trans_choice('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>{{ __('Inbound Flights') }}</h5>
@if(!$inbound_flights)
<div class="jumbotron text-center">
no flights found
{{ __('No Flight Found') }}
</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">{{ __('Ident') }}</th>
<th class="text-left">{{ __('From') }}</th>
<th>{{ __('Departure') }}</th>
<th>{{ __('Arrival') }}</th>
</tr>
</thead>
@foreach($inbound_flights as $flight)
@@ -71,19 +71,19 @@
</div>
<div class="col-6">
<h5>Outbound Flights</h5>
<h5>{{ __('Outbound Flights') }}</h5>
@if(!$outbound_flights)
<div class="jumbotron text-center">
no flights found
{{ __('No Flight Found') }}
</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">{{ __('Ident') }}</th>
<th class="text-left">{{ __('To') }}</th>
<th>{{ __('Departure') }}</th>
<th>{{ __('Arrival') }}</th>
</tr>
</thead>
@foreach($outbound_flights as $flight)