parent
77f2138a1c
commit
2d36376e29
@ -5,17 +5,22 @@
|
||||
<div class="col-sm-9">
|
||||
<h5>
|
||||
<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 }}
|
||||
</a>
|
||||
</h5>
|
||||
</div>
|
||||
<div class="col-sm-3 text-right">
|
||||
{{-- NOTE:
|
||||
Don't remove the "save_flight" class, or the x-id attribute.
|
||||
It will break the AJAX to save/delete
|
||||
<div class="col-sm-3 align-top text-right">
|
||||
{{--
|
||||
!!! NOTE !!!
|
||||
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
|
||||
If you change it, remember to change it in the in-array line as well
|
||||
"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 (!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
|
||||
|
Loading…
Reference in New Issue
Block a user