Mercurial > gemma
changeset 1537:c9f5f2c62d06
client: satisfy code style warner
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Fri, 07 Dec 2018 16:56:06 +0100 |
parents | 97bdcee1d4c0 |
children | 8e67f6e8d195 |
files | client/src/components/map/Identify.vue |
diffstat | 1 files changed, 11 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/map/Identify.vue Fri Dec 07 16:49:31 2018 +0100 +++ b/client/src/components/map/Identify.vue Fri Dec 07 16:56:06 2018 +0100 @@ -27,15 +27,12 @@ </div> <div v-for="(feature, i) of identifiedFeatures" :key="feature.getId()"> <div v-if="feature.getId()" :class="{ 'mt-2': i }"> - <b - >{{ - feature - .getId() - .replace( - /[.][^.]*$/, - "" - ) /* cut away everything from the last . to the end */ - }}:</b> + <strong> + {{ + feature.getId().replace(/[.][^.]*$/, "") + /* cut away everything from the last . to the end */ + }}: + </strong> <small v-for="(value, key) in prepareProperties(feature)" :key="key" @@ -66,10 +63,12 @@ <a href="https://www.openstreetmap.org/copyright">%{ name }</a> contributors. </span> - <p v-translate="{geoLicense: 'CC-BY-4.0'}"> - Uses + <p v-translate="{ geoLicense: 'CC-BY-4.0' }"> + Uses <a href="https://download.geonames.org/export/dump/readme.txt" - >GeoNames</a> under %{ geoLicense }. + >GeoNames</a + > + under %{ geoLicense }. </p> </div> </div>