Mercurial > gemma
diff client/src/components/Sidebar.vue @ 1610:2ee243f9a7ee
import stretches boilerplate added
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 18 Dec 2018 09:33:34 +0100 |
parents | 38f91897ca69 |
children | f2d24dceecc7 |
line wrap: on
line diff
--- a/client/src/components/Sidebar.vue Tue Dec 18 08:45:45 2018 +0100 +++ b/client/src/components/Sidebar.vue Tue Dec 18 09:33:34 2018 +0100 @@ -52,6 +52,14 @@ >Import soundingresults</span > </router-link> + <router-link to="/importstretches" v-if="this.$options.IMPORTSTRETCHES"> + <font-awesome-icon + class="fa-fw mr-2" + fixed-width + icon="cloud-upload-alt" + ></font-awesome-icon> + <span class="fix-trans-space" v-translate>Import stretches</span> + </router-link> <router-link to="importschedule" v-if="this.$options.IMPORTSCHEDULE"> <font-awesome-icon class="fa-fw mr-2" @@ -153,6 +161,7 @@ } }, IMPORTSCHEDULE: process.env.VUE_APP_FEATURE_IMPORTSCHEDULE, + IMPORTSTRETCHES: process.env.VUE_APP_FEATURE_IMPORTSTRETCHES, methods: { logoff() { app.$snotify.clear();