From 5b184bb1a0271793ae8c3e3673d5281e1b66399d Mon Sep 17 00:00:00 2001 From: robbi5 Date: Wed, 30 Aug 2023 09:53:41 +0200 Subject: [PATCH] Fix leaflet osm tile suggestion (#3549) Co-authored-by: Raphael Michel --- src/pretix/control/forms/global_settings.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pretix/control/forms/global_settings.py b/src/pretix/control/forms/global_settings.py index 0944c5f629..e267283769 100644 --- a/src/pretix/control/forms/global_settings.py +++ b/src/pretix/control/forms/global_settings.py @@ -86,12 +86,14 @@ class GlobalSettingsForm(SettingsForm): ('leaflet_tiles', forms.CharField( required=False, label=_("Leaflet tiles URL pattern"), - help_text=_("e.g. {sample}").format(sample="https://a.tile.openstreetmap.org/{z}/{x}/{y}.png") + help_text=_("e.g. {sample}").format(sample="https://tile.openstreetmap.org/{z}/{x}/{y}.png") )), ('leaflet_tiles_attribution', forms.CharField( required=False, label=_("Leaflet tiles attribution"), - help_text=_("e.g. {sample}").format(sample='© OpenStreetMap contributors') + help_text=_("e.g. {sample}").format( + sample='© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors' + ) )), ]) responses = register_global_settings.send(self)