fix map-info-box display (#1104)

* fix map-info-box display

* Check user on PIREP show/edit/update/submit

* add missing use

* refactoring according to comments; use UpdatePirepRequest for authorization and make user available to view

Co-authored-by: Andreas Palm <ap@ewsp.de>
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
This commit is contained in:
exciler
2021-03-28 09:57:16 -04:00
committed by GitHub
co-authored by Andreas Palm Nabeel S
parent d4c301a36c
commit 1e320835c2
5 changed files with 21 additions and 3 deletions
@@ -29,7 +29,7 @@
A couple of places (like the distance) use both to output the correct bindings.
--}}
<div id="map-info-box" class="map-info-box"
rv-show="pirep"
rv-show="pirep.id"
style="width: {{ $config['width'] }};">
<div style="float: left; width: 50%;">
<h3 style="margin: 0" id="map_flight_id">