From 2d36376e295c6e2f6bf33b8554a45340166ea3a4 Mon Sep 17 00:00:00 2001 From: Nabeel S Date: Fri, 14 Feb 2020 18:54:05 -0500 Subject: [PATCH] Add logo to the flights page if its set #417 (#550) --- .../layouts/default/flights/table.blade.php | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/resources/views/layouts/default/flights/table.blade.php b/resources/views/layouts/default/flights/table.blade.php index 1d1be5c4..24ae8d45 100644 --- a/resources/views/layouts/default/flights/table.blade.php +++ b/resources/views/layouts/default/flights/table.blade.php @@ -5,17 +5,22 @@
+ @if(optional($flight->airline)->logo) + {{$flight->airline->name}} + @endif {{ $flight->ident }}
-
- {{-- NOTE: - Don't remove the "save_flight" class, or the x-id attribute. - It will break the AJAX to save/delete +
+ {{-- + !!! 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)