diff --git a/app/Widgets/LiveMap.php b/app/Widgets/LiveMap.php index 514c6a8e..dcfaf780 100644 --- a/app/Widgets/LiveMap.php +++ b/app/Widgets/LiveMap.php @@ -14,6 +14,7 @@ class LiveMap extends Widget protected $config = [ 'height' => '800px', 'width' => '100%', + 'table' => true, ]; /** diff --git a/resources/views/layouts/default/widgets/live_map.blade.php b/resources/views/layouts/default/widgets/live_map.blade.php index 2a54ba83..35f08f0e 100644 --- a/resources/views/layouts/default/widgets/live_map.blade.php +++ b/resources/views/layouts/default/widgets/live_map.blade.php @@ -64,6 +64,7 @@ +@if($config['table'] === true)
{{-- @@ -95,7 +96,7 @@ and being mindful of the rivets bindings {{-- Show the full airport name on hover --}} { pirep.dpt_airport.icao } { pirep.arr_airport.icao } - { pirep.aircraft.name } + { pirep.aircraft.registration } { pirep.position.altitude } { pirep.position.gs } { pirep.position.distance.{{setting('units.distance')}} | fallback 0 } / @@ -107,6 +108,7 @@ and being mindful of the rivets bindings +@endif @section('scripts')