From 02e0b2d390df3531eb5bb37c6b462facfffb91a2 Mon Sep 17 00:00:00 2001
From: florent <flavelle@neogeo.fr>
Date: Wed, 13 Apr 2022 09:29:37 +0200
Subject: [PATCH] redirect to documentation

---
 src/components/Project/Detail/ProjectFeatureTypes.vue | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/components/Project/Detail/ProjectFeatureTypes.vue b/src/components/Project/Detail/ProjectFeatureTypes.vue
index b2359625..bfd04449 100644
--- a/src/components/Project/Detail/ProjectFeatureTypes.vue
+++ b/src/components/Project/Detail/ProjectFeatureTypes.vue
@@ -225,11 +225,14 @@
           icon
           teal
         "
-        data-tooltip="Accéder à la documentation"
+        data-tooltip="Consulter la documentation"
         data-position="bottom right"
         data-variation="mini"
       >
-        <i class="question icon" />
+        <i
+          class="question icon"
+          @click="goToDocumentation"
+        />
       </div>
 
       <div id="nouveau-type-signalement">
@@ -569,6 +572,10 @@ export default {
       return navigator.onLine === false;
     },
 
+    goToDocumentation() {
+      window.open('https://geocontrib.readthedocs.io/fr/latest/documentation_fonctionnelle/import_export/');
+    },
+
     toNewGeojsonFeatureType() {
       this.importing = true;
       this.$router.push({
-- 
GitLab