This commit is contained in:
@@ -19,5 +19,5 @@ l-map(
|
||||
include map/restaurants.pug
|
||||
|
||||
include map/travel.pug
|
||||
template(v-if="edit_active")
|
||||
template(v-if="journey.edit")
|
||||
include map/right_menu.pug
|
@@ -19,13 +19,13 @@ mixin map_marker(place, color_sel_c, color_sel_o, color_else)
|
||||
:options="{maxWidth:400, minWidth:300}")
|
||||
h1.row.text-medium.text-center {{ place.sname }}
|
||||
span.row.text-small.text-gray {{ place.display_name }}
|
||||
span(v-if="edit_active")
|
||||
span(v-if="journey.edit")
|
||||
.row.input()
|
||||
textarea.col-12.col-sm-12.text-small(
|
||||
placeholder="",
|
||||
v-model="place.notes",
|
||||
)
|
||||
.leaflet-popup-button-group(v-if="edit_active")
|
||||
.leaflet-popup-button-group(v-if="journey.edit")
|
||||
a.text-gray(
|
||||
v-on:click.prevent="place.step = ((place.step==journey.sel_day)?-1:journey.sel_day)"
|
||||
v-html="generate_icon(((place.step==journey.sel_day)?'calendar-xmark':'calendar-plus'), 'NA')"
|
||||
|
@@ -4,15 +4,15 @@ mixin flight_popup()
|
||||
)
|
||||
h1.row.text-medium.text-center.text-uppercase {{ travel.id }}
|
||||
span.row.text-small.text-gray {{ travel.from }} - {{travel.to}}
|
||||
span(v-if="edit_active")
|
||||
span(v-if="journey.edit")
|
||||
.row.input(style="margin-bottom:0")
|
||||
textarea.col-12.col-sm-12.text-small(
|
||||
placeholder="",
|
||||
v-model="travel.notes",
|
||||
)
|
||||
span.row.text-small.text-dark(v-else) {{ travel.notes }}
|
||||
span(v-if="edit_active")
|
||||
.leaflet-popup-button-group(v-if="edit_active")
|
||||
span(v-if="journey.edit")
|
||||
.leaflet-popup-button-group()
|
||||
a.text-gray(
|
||||
v-on:click.prevent="place_delete(journey,'flight',idx)"
|
||||
v-html="generate_icon('trash', 'NA')"
|
||||
|
Reference in New Issue
Block a user