From 8f77b63b080d04d5979f999b583f1442ec9a18bc Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Wed, 31 May 2023 17:33:05 +0200 Subject: [PATCH] Changed working of edit link alert + added a carriage return --- umap/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/umap/views.py b/umap/views.py index b50e698a..d323c353 100644 --- a/umap/views.py +++ b/umap/views.py @@ -542,9 +542,9 @@ class MapCreate(FormLessEditMixin, PermissionsMixin, CreateView): anonymous_url = self.object.get_anonymous_edit_url() if not self.request.user.is_authenticated: msg = _( - "Your map has been created! If you want to edit this map from " - "another computer, please use this link: %(anonymous_url)s" - % {"anonymous_url": anonymous_url} + "Your map has been created! As you are not logged in, here is your " + "secret link to edit the map, please keep it safe:" + + f"
{anonymous_url}" ) else: msg = _("Congratulations, your map has been created!")