Changed working of edit link alert + added a carriage return
This commit is contained in:
parent
7c2ba9d3e8
commit
8f77b63b08
1 changed files with 3 additions and 3 deletions
|
@ -542,9 +542,9 @@ class MapCreate(FormLessEditMixin, PermissionsMixin, CreateView):
|
||||||
anonymous_url = self.object.get_anonymous_edit_url()
|
anonymous_url = self.object.get_anonymous_edit_url()
|
||||||
if not self.request.user.is_authenticated:
|
if not self.request.user.is_authenticated:
|
||||||
msg = _(
|
msg = _(
|
||||||
"Your map has been created! If you want to edit this map from "
|
"Your map has been created! As you are not logged in, here is your "
|
||||||
"another computer, please use this link: %(anonymous_url)s"
|
"secret link to edit the map, please keep it safe:"
|
||||||
% {"anonymous_url": anonymous_url}
|
+ f"<br>{anonymous_url}"
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
msg = _("Congratulations, your map has been created!")
|
msg = _("Congratulations, your map has been created!")
|
||||||
|
|
Loading…
Reference in a new issue