# HG changeset patch # User Sascha L. Teichmann # Date 1543565823 -3600 # Node ID c89a18f8027db7fd6b199f59a481d2d058b92169 # Parent 286a3306f6bf98beedccfeaeb7f1f600e357877b# Parent 7fa030127b05e5a905e0a8048bad00e6b1186b51 Merged back default into bulkreview branch. diff -r 286a3306f6bf -r c89a18f8027d client/docs/developer.md --- a/client/docs/developer.md Fri Nov 30 09:15:47 2018 +0100 +++ b/client/docs/developer.md Fri Nov 30 09:17:03 2018 +0100 @@ -101,6 +101,7 @@ - [xgettext fails with some .vue files](https://github.com/Polyconseil/vue-gettext/issues/28) which forces us to use `(`, `)` around templates - [translations in attributes](https://github.com/Polyconseil/vue-gettext/issues/9) which leaves us with either interpolating in templates with `` or use computed properties in Vue components (cf. Login component). + - [inconsistent white space handling](https://github.com/Polyconseil/vue-gettext/issues/80) if you need a white space preserved before the translated tag, use `to be translated` (see `src/assets/application.sass`). - Is dependend on external (=non JS) tools (`xgettext`) which are not able to consume `.vue`-files directly, which in turn leads to unexpected behaviour. - diff -r 286a3306f6bf -r c89a18f8027d client/src/assets/application.sass --- a/client/src/assets/application.sass Fri Nov 30 09:15:47 2018 +0100 +++ b/client/src/assets/application.sass Fri Nov 30 09:17:03 2018 +0100 @@ -77,4 +77,15 @@ max-width: 999px margin-left: 0.5rem margin-right: 0.5rem - margin-bottom: 0.5rem + margin-bottom: 1rem + +// needed to fix the whitespace problem of +// https://github.com/Polyconseil/vue-gettext/issues/80 +// use like +// link +// contributors. +// +// done centrally, so we can fix it centrally for better vue-gettext version +.fix-trans-space + &:before + content: " " diff -r 286a3306f6bf -r c89a18f8027d client/src/components/Sidebar.vue --- a/client/src/components/Sidebar.vue Fri Nov 30 09:15:47 2018 +0100 +++ b/client/src/components/Sidebar.vue Fri Nov 30 09:17:03 2018 +0100 @@ -9,7 +9,7 @@ @@ -105,6 +112,7 @@ ]; } }, + IMPORTSCHEDULE: process.env.VUE_APP_FEATURE_IMPORTSCHEDULE, methods: { logoff() { this.$store.commit("reset"); @@ -143,10 +151,8 @@ padding: 0.5rem 1rem color: #333 text-decoration: none - svg - margin-right: 0.5rem - path - fill: #666 + svg path + fill: #666 &:hover background-color: #f8f8f8 &.router-link-exact-active diff -r 286a3306f6bf -r c89a18f8027d client/src/components/admin/importschedule/Importschedule.vue --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/components/admin/importschedule/Importschedule.vue Fri Nov 30 09:17:03 2018 +0100 @@ -0,0 +1,157 @@ + + + + + diff -r 286a3306f6bf -r c89a18f8027d client/src/components/admin/importschedule/Importscheduledetail.vue --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/components/admin/importschedule/Importscheduledetail.vue Fri Nov 30 09:17:03 2018 +0100 @@ -0,0 +1,35 @@ + + + + + diff -r 286a3306f6bf -r c89a18f8027d client/src/components/admin/usermanagement/Userdetail.vue --- a/client/src/components/admin/usermanagement/Userdetail.vue Fri Nov 30 09:15:47 2018 +0100 +++ b/client/src/components/admin/usermanagement/Userdetail.vue Fri Nov 30 09:17:03 2018 +0100 @@ -11,7 +11,9 @@
- +
- +
- +
@@ -102,20 +120,21 @@
- +
- Send testmail + + Send testmail -
Mail was sent
+
+ Mail was sent +
diff -r 286a3306f6bf -r c89a18f8027d client/src/components/admin/usermanagement/Usermanagement.vue --- a/client/src/components/admin/usermanagement/Usermanagement.vue Fri Nov 30 09:15:47 2018 +0100 +++ b/client/src/components/admin/usermanagement/Usermanagement.vue Fri Nov 30 09:17:03 2018 +0100 @@ -5,7 +5,9 @@
-
Users
+
+ Users +
@@ -66,7 +68,9 @@
- +
diff -r 286a3306f6bf -r c89a18f8027d client/src/components/map/Identify.vue --- a/client/src/components/map/Identify.vue Fri Nov 30 09:15:47 2018 +0100 +++ b/client/src/components/map/Identify.vue Fri Nov 30 09:17:03 2018 +0100 @@ -1,54 +1,59 @@ diff -r 286a3306f6bf -r c89a18f8027d client/src/components/map/toolbar/Linetool.vue --- a/client/src/components/map/toolbar/Linetool.vue Fri Nov 30 09:15:47 2018 +0100 +++ b/client/src/components/map/toolbar/Linetool.vue Fri Nov 30 09:17:03 2018 +0100 @@ -32,9 +32,7 @@ this.polygonTool.setActive(false); this.cutTool.setActive(false); this.$store.commit("map/setCurrentMeasurement", null); - this.getLayerByName("Draw Tool") - .data.getSource() - .clear(); + this.getVSourceByName("Draw Tool").clear(); } } }; diff -r 286a3306f6bf -r c89a18f8027d client/src/components/map/toolbar/Polygontool.vue --- a/client/src/components/map/toolbar/Polygontool.vue Fri Nov 30 09:15:47 2018 +0100 +++ b/client/src/components/map/toolbar/Polygontool.vue Fri Nov 30 09:17:03 2018 +0100 @@ -32,9 +32,7 @@ this.lineTool.setActive(false); this.cutTool.setActive(false); this.$store.commit("map/setCurrentMeasurement", null); - this.getLayerByName("Draw Tool") - .data.getSource() - .clear(); + this.getVSourceByName("Draw Tool").clear(); } } }; diff -r 286a3306f6bf -r c89a18f8027d client/src/components/map/toolbar/Profiles.vue --- a/client/src/components/map/toolbar/Profiles.vue Fri Nov 30 09:15:47 2018 +0100 +++ b/client/src/components/map/toolbar/Profiles.vue Fri Nov 30 09:17:03 2018 +0100 @@ -1,5 +1,5 @@ diff -r 286a3306f6bf -r c89a18f8027d client/src/components/map/toolbar/Toolbar.vue --- a/client/src/components/map/toolbar/Toolbar.vue Fri Nov 30 09:15:47 2018 +0100 +++ b/client/src/components/map/toolbar/Toolbar.vue Fri Nov 30 09:17:03 2018 +0100 @@ -1,28 +1,29 @@