💬(mail) improve email text

- replace occurences of Impress with Docs in the email
- replace occurences of Impress with Docs in the email
subject
This commit is contained in:
Anthony LC
2024-08-13 13:57:44 +02:00
committed by Anthony LC
parent c1566d98fe
commit af7e480d52
3 changed files with 11 additions and 13 deletions

View File

@@ -805,7 +805,7 @@ class Invitation(BaseModel):
"""Email invitation to the user."""
try:
with override(self.issuer.language):
title = _("Invitation to join Impress!")
title = _("Invitation to join Docs!")
template_vars = {"title": title, "site": Site.objects.get_current()}
msg_html = render_to_string("mail/html/invitation.html", template_vars)
msg_plain = render_to_string("mail/text/invitation.txt", template_vars)