diff client/src/components/toolbar/Identify.vue @ 2900:2097c3633f0a

client: added tooltips to toolbar buttons
author Markus Kottlaender <markus@intevation.de>
date Tue, 02 Apr 2019 14:52:38 +0200
parents 7fe2f5d334dc
children 6c5364ff0abb
line wrap: on
line diff
--- a/client/src/components/toolbar/Identify.vue	Tue Apr 02 14:36:18 2019 +0200
+++ b/client/src/components/toolbar/Identify.vue	Tue Apr 02 14:52:38 2019 +0200
@@ -2,6 +2,7 @@
   <div
     @click="$store.commit('application/showIdentify', !showIdentify)"
     class="toolbar-button"
+    v-tooltip="label"
   >
     <font-awesome-icon
       icon="info"
@@ -46,6 +47,9 @@
     ...mapGetters("map", ["filteredIdentifiedFeatures"]),
     badgeCount() {
       return this.filteredIdentifiedFeatures.length + !!this.currentMeasurement;
+    },
+    label() {
+      return this.$gettext("Identified Features");
     }
   }
 };