Update umap/views.py

Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
This commit is contained in:
Yohan Boniface 2023-06-02 17:33:09 +02:00 committed by GitHub
parent d180caa0d5
commit 5460876ff4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -630,7 +630,7 @@ class SendEditLink(FormLessEditMixin, FormView):
link = self.object.get_anonymous_edit_url()
send_mail(
_("Your secret edit link"),
_("The uMap edit link for your map: %(map_name)s" % {"map_name": self.object.name}),
_("Here is your secret edit link: %(link)s" % {"link": link}),
settings.FROM_EMAIL,
[email],