@@ -5,17 +5,22 @@
|
|||||||
<div class="col-sm-9">
|
<div class="col-sm-9">
|
||||||
<h5>
|
<h5>
|
||||||
<a class="text-c" href="{{ route('frontend.flights.show', [$flight->id]) }}">
|
<a class="text-c" href="{{ route('frontend.flights.show', [$flight->id]) }}">
|
||||||
|
@if(optional($flight->airline)->logo)
|
||||||
|
<img src="{{ $flight->airline->logo }}" alt="{{$flight->airline->name}}"
|
||||||
|
style="max-width: 80px; width: 100%; height: auto;"/>
|
||||||
|
@endif
|
||||||
{{ $flight->ident }}
|
{{ $flight->ident }}
|
||||||
</a>
|
</a>
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-3 text-right">
|
<div class="col-sm-3 align-top text-right">
|
||||||
{{-- NOTE:
|
{{--
|
||||||
Don't remove the "save_flight" class, or the x-id attribute.
|
!!! NOTE !!!
|
||||||
It will break the AJAX to save/delete
|
Don't remove the "save_flight" class, or the x-id attribute.
|
||||||
|
It will break the AJAX to save/delete
|
||||||
|
|
||||||
"x-saved-class" is the class to add/remove if the bid exists or not
|
"x-saved-class" is the class to add/remove if the bid exists or not
|
||||||
If you change it, remember to change it in the in-array line as well
|
If you change it, remember to change it in the in-array line as well
|
||||||
--}}
|
--}}
|
||||||
@if (!setting('pilots.only_flights_from_current') || $flight->dpt_airport_id == Auth::user()->current_airport->icao)
|
@if (!setting('pilots.only_flights_from_current') || $flight->dpt_airport_id == Auth::user()->current_airport->icao)
|
||||||
<button class="btn btn-round btn-icon btn-icon-mini save_flight
|
<button class="btn btn-round btn-icon btn-icon-mini save_flight
|
||||||
|
|||||||
Reference in New Issue
Block a user