mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 05:21:15 +00:00
places: a description the community shared is credited to the TREK community
A community description laid over OSM details or an index row showed up as OpenStreetMap under ODbL, or as the place's own website. It now has a source of its own, community, credited as TREK Community under CC BY 4.0, like the service publishes it.
This commit is contained in:
@@ -402,6 +402,8 @@ function descriptionSourceLabel(
|
||||
return 'Wikivoyage'
|
||||
case 'wikipedia':
|
||||
return 'Wikipedia'
|
||||
case 'community':
|
||||
return 'TREK Community'
|
||||
case 'website':
|
||||
try {
|
||||
return new URL(sourceUrl || '').hostname.replace(/^www\./, '')
|
||||
|
||||
Reference in New Issue
Block a user