From 6f3b005c5c6aa15bcd9ec27b9158805d6d9a41e0 Mon Sep 17 00:00:00 2001 From: sora-ext Date: Fri, 28 Feb 2025 17:53:33 +0100 Subject: [PATCH] Update template/module/journey/map/restaurants.pug --- template/module/journey/map/restaurants.pug | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/template/module/journey/map/restaurants.pug b/template/module/journey/map/restaurants.pug index 02a9cfe..1685cd8 100644 --- a/template/module/journey/map/restaurants.pug +++ b/template/module/journey/map/restaurants.pug @@ -1,18 +1,6 @@ -l-marker( +include mixin-marker.pug +div( v-for="(place, index) in journey.leg_get().places.restaurants", - :key="'restaurants'+index" - :lat-lng="place.latlon" + :key="'restaurants'+index", ) - l-icon(v-html="generate_marker(place, 'cadetblue')") - l-popup - h1.row.text-medium.text-center {{ place.sname }} - span.row.text-small.text-gray {{ place.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="place.notes" - :min-height="30" - :max-height="350" - ) - span.row.text-small.text-dark(v-else) {{ place.notes }} + +map_marker("restaurants", "var(--dark)", "var(--dark)", "var(--dark)") \ No newline at end of file