Update template/module/journey/map/hotel.pug
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
sora-ext 2025-02-28 17:52:59 +01:00
parent 828b2ae3cb
commit 2fbf2ec3e9

View File

@ -1,18 +1,7 @@
l-marker(
include mixin-marker.pug
div(
v-if="journey.leg_get().hotel",
:lat-lng="journey.leg_get().hotel.latlon"
v-for="(place, index) in [journey.leg_get().hotel]",
:key="'hotel'+index",
)
l-icon(v-html="generate_marker(journey.leg_get().hotel, 'darkblue')")
l-popup
h1.row.text-medium.text-center {{ journey.leg_get().hotel.sname }}
span.row.text-small.text-gray {{ journey.leg_get().hotel.display_name }}
span(v-if="edit_active")
.row.input(style="margin-bottom:0;")
textarea-autosize.col-12.col-sm-12.text-small(
placeholder="Notes",
v-model="journey.leg_get().hotel.notes",
:min-height="30",
:max-height="350"
)
span.row.text-small.text-white(v-else) {{ journey.leg_get().hotel.notes }}
+map_marker("hotel", "var(--darkdark)", "var(--darkdark)", "var(--darkdark)")