From 2fbf2ec3e91b391c0515acb7703f57f0cc6b5f82 Mon Sep 17 00:00:00 2001 From: sora-ext Date: Fri, 28 Feb 2025 17:52:59 +0100 Subject: [PATCH] Update template/module/journey/map/hotel.pug --- template/module/journey/map/hotel.pug | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/template/module/journey/map/hotel.pug b/template/module/journey/map/hotel.pug index d19bea4..42947f7 100644 --- a/template/module/journey/map/hotel.pug +++ b/template/module/journey/map/hotel.pug @@ -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 }} - \ No newline at end of file + +map_marker("hotel", "var(--darkdark)", "var(--darkdark)", "var(--darkdark)") \ No newline at end of file