From 0bce610a240a1a3324f045dde48e280a260eb0a7 Mon Sep 17 00:00:00 2001 From: Candid Dauth Date: Tue, 23 May 2017 21:59:55 +0200 Subject: [PATCH] Fix hiding modification buttons in read-only mode --- frontend/app/map/lines/view-line.html | 2 +- frontend/app/map/markers/view-marker.html | 8 ++++---- frontend/app/map/route/view-route.html | 2 +- frontend/app/search/result-popup.html | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/app/map/lines/view-line.html b/frontend/app/map/lines/view-line.html index a72c5627..3b6259e7 100644 --- a/frontend/app/map/lines/view-line.html +++ b/frontend/app/map/lines/view-line.html @@ -25,7 +25,7 @@ -
+
diff --git a/frontend/app/map/markers/view-marker.html b/frontend/app/map/markers/view-marker.html index 11933944..534b8556 100644 --- a/frontend/app/map/markers/view-marker.html +++ b/frontend/app/map/markers/view-marker.html @@ -11,10 +11,10 @@
-
- - - +
+ + +
-
+
{{filteredTypes = (result.isMarker && result.isLine ? client.types : (client.types | fmObjectFilter:{type:result.isMarker ? 'marker' : 'line'})); ""}} -
+
- +