From 23cbb7d359234b0c70b14f06d0bb4d30df07248c Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 24 Apr 2019 14:11:59 +0200 Subject: [PATCH 1/4] Load map tiles over HTTPS Signed-off-by: Thomas Citharel --- js/src/components/Map.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/components/Map.vue b/js/src/components/Map.vue index 9adea6626..79b62ab80 100644 --- a/js/src/components/Map.vue +++ b/js/src/components/Map.vue @@ -6,7 +6,7 @@ class="leaflet-map" :center="[lat, lon]" > - + {{ popup }} From fcad7aa2ce2aedd1b10c0486a6169b098c914003 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 24 Apr 2019 14:13:52 +0200 Subject: [PATCH 2/4] Add map data attribution for OpenStreetMap Signed-off-by: Thomas Citharel --- js/src/components/Map.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/js/src/components/Map.vue b/js/src/components/Map.vue index 79b62ab80..0a8bedda5 100644 --- a/js/src/components/Map.vue +++ b/js/src/components/Map.vue @@ -6,7 +6,12 @@ class="leaflet-map" :center="[lat, lon]" > - + + + {{ popup }} From 69457146bf34dfa457c92ebd190facd615e27c92 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 24 Apr 2019 14:15:47 +0200 Subject: [PATCH 3/4] Don't show map if no coords are defined Signed-off-by: Thomas Citharel --- js/src/views/Event/Event.vue | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/js/src/views/Event/Event.vue b/js/src/views/Event/Event.vue index 0596bf6ad..1c783d4e5 100644 --- a/js/src/views/Event/Event.vue +++ b/js/src/views/Event/Event.vue @@ -75,17 +75,11 @@ {{ event.physicalAddress.postal_code }} {{ event.physicalAddress.locality }} - + Show map - - - - - - - +
Date: Wed, 24 Apr 2019 14:21:22 +0200 Subject: [PATCH 4/4] Only show related events section if there's some Always use 1/3 column layout for related events columns Signed-off-by: Thomas Citharel --- js/src/views/Event/Event.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/views/Event/Event.vue b/js/src/views/Event/Event.vue index 1c783d4e5..b0a8eb697 100644 --- a/js/src/views/Event/Event.vue +++ b/js/src/views/Event/Event.vue @@ -216,10 +216,10 @@
-
+

These events may interest you

-
+