Move flights into separate file
This commit is contained in:
16
resources/lang/en/flights.php
Normal file
16
resources/lang/en/flights.php
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
return [
|
||||||
|
'mybid' => 'My Bid|My Bids',
|
||||||
|
'search' => 'Search',
|
||||||
|
'addremovebid' => 'Add/Remove Bid',
|
||||||
|
'bidremoved' => 'Your bid was removed.',
|
||||||
|
'bidadded' => 'Your bid was added.',
|
||||||
|
'dep' => 'Dep',
|
||||||
|
'arr' => 'Arr',
|
||||||
|
'level' => 'Level',
|
||||||
|
'alternateairport' => 'Alternate Airport',
|
||||||
|
];
|
||||||
15
resources/lang/it/flights.php
Normal file
15
resources/lang/it/flights.php
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
return [
|
||||||
|
'mybid' => 'Mia prenotazione|Mie Prenotazioni',
|
||||||
|
'addremovebid' => 'Aggiungi/Rimuovi Prenotazione',
|
||||||
|
'bidremoved' => 'La tua prenotazione è stata rimossa.',
|
||||||
|
'bidadded' => 'La tua prenotazione è stata aggiunta.',
|
||||||
|
'dep' => 'Par',
|
||||||
|
'arr' => 'Arr',
|
||||||
|
'level' => 'Livello',
|
||||||
|
'alternateairport' => 'Aeroporto Alternativo',
|
||||||
|
];
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
<h3 class="description">@lang('frontend.flights.search')</h3>
|
<h3 class="description">@lang('flights.search')</h3>
|
||||||
<div class="card pull-right">
|
<div class="card pull-right">
|
||||||
<div class="card-block" style="min-height: 0px">
|
<div class="card-block" style="min-height: 0px">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
@if($flight->alt_airport_id)
|
@if($flight->alt_airport_id)
|
||||||
<tr>
|
<tr>
|
||||||
<td>@lang('frontend.flights.alternateairport')</td>
|
<td>@lang('flights.alternateairport')</td>
|
||||||
<td>
|
<td>
|
||||||
{{ $flight->alt_airport->name }}
|
{{ $flight->alt_airport->name }}
|
||||||
(<a href="{{route('frontend.airports.show', [
|
(<a href="{{route('frontend.airports.show', [
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
x-id="{{ $flight->id }}"
|
x-id="{{ $flight->id }}"
|
||||||
x-saved-class="btn-info"
|
x-saved-class="btn-info"
|
||||||
type="button"
|
type="button"
|
||||||
title="@lang('frontend.flights.addremovebid')"
|
title="@lang('flights.addremovebid')"
|
||||||
>
|
>
|
||||||
<i class="fas fa-map-marker"></i>
|
<i class="fas fa-map-marker"></i>
|
||||||
</button>
|
</button>
|
||||||
@@ -34,14 +34,14 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-5">
|
<div class="col-sm-5">
|
||||||
{{--<table class="table-condensed"></table>--}}
|
{{--<table class="table-condensed"></table>--}}
|
||||||
<span class="title">{{ strtoupper(trans('frontend.flights.dep')) }} </span>
|
<span class="title">{{ strtoupper(__('flights.dep')) }} </span>
|
||||||
{{ $flight->dpt_airport->name }}
|
{{ $flight->dpt_airport->name }}
|
||||||
(<a href="{{route('frontend.airports.show', [
|
(<a href="{{route('frontend.airports.show', [
|
||||||
'id' => $flight->dpt_airport->icao
|
'id' => $flight->dpt_airport->icao
|
||||||
])}}">{{$flight->dpt_airport->icao}}</a>)
|
])}}">{{$flight->dpt_airport->icao}}</a>)
|
||||||
@if($flight->dpt_time), {{ $flight->dpt_time }}@endif
|
@if($flight->dpt_time), {{ $flight->dpt_time }}@endif
|
||||||
<br />
|
<br />
|
||||||
<span class="title">{{ strtoupper(trans('frontend.flights.arr')) }} </span>
|
<span class="title">{{ strtoupper(__('flights.arr')) }} </span>
|
||||||
{{ $flight->arr_airport->name }}
|
{{ $flight->arr_airport->name }}
|
||||||
(<a href="{{route('frontend.airports.show', [
|
(<a href="{{route('frontend.airports.show', [
|
||||||
'id' => $flight->arr_airport->icao
|
'id' => $flight->arr_airport->icao
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
@endif
|
@endif
|
||||||
<br />
|
<br />
|
||||||
@if($flight->level)
|
@if($flight->level)
|
||||||
<span class="title">{{ strtoupper(trans('frontend.flights.level')) }} </span>
|
<span class="title">{{ strtoupper(__('flights.level')) }} </span>
|
||||||
{{ $flight->level }} {{ setting('units.altitude') }}
|
{{ $flight->level }} {{ setting('units.altitude') }}
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user