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