changeset 1489:a9594f7d44b7

client: improve credit display for GeoNames
author Bernhard Reiter <bernhard@intevation.de>
date Tue, 04 Dec 2018 13:48:50 +0100
parents f59d9ff6e6cd
children 6c889a0cdb3b 197e932772fd
files client/src/components/map/Identify.vue
diffstat 1 files changed, 5 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/map/Identify.vue	Tue Dec 04 13:30:23 2018 +0100
+++ b/client/src/components/map/Identify.vue	Tue Dec 04 13:48:50 2018 +0100
@@ -35,8 +35,7 @@
                     /[.][^.]*$/,
                     ""
                   ) /* cut away everything from the last . to the end */
-              }}:</b
-            >
+              }}:</b>
             <small
               v-for="(value, key) in prepareProperties(feature)"
               :key="key"
@@ -67,14 +66,10 @@
           <a href="https://www.openstreetmap.org/copyright">%{ name }</a>
           contributors.
         </span>
-        <p v-translate="{geoLicense: 'CC-BY-4.0',data: 'data sources' }">
-          Geonames data source is licensed under
-          <a
-            href="https://creativecommons.org/licenses/by/4.0/"
-          >%{ geoLicense }</a> without warranty, see docs for details
-          <a
-            href="http://www.geonames.org/data-sources.html"
-          >%{ data }</a>.
+        <p v-translate="{geoLicense: 'CC-BY-4.0'}">
+           Uses
+          <a href="https://download.geonames.org/export/dump/readme.txt"
+             >GeoNames</a> under %{ geoLicense }.
         </p>
       </div>
     </div>