Skip to content

Commit 19a0cbe

Browse files
Fix issue #1276: Remove indentation from URLs in email templates
- Removed leading spaces from {confirmation_link} in ACCEPT_TEXT template - Removed leading spaces from {orga_url} in NEW_SUBMISSION_TEXT template - Removed leading spaces from {orga_url} in UPDATE_TEXT template Email clients (Gmail, Outlook, etc.) don't auto-link URLs with leading whitespace, treating them as preformatted text instead. This caused confirmation links in acceptance emails to appear as plain text instead of clickable links.
1 parent 11ce87b commit 19a0cbe

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

app/eventyay/mail/default_templates.py

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
_(
2323
"""Hi!
2424
25-
We are happy to tell you that we accept your proposal {submission_title}
25+
We are happy to tell you that we accept your proposal "{submission_title}"
2626
to {event_name}. Please click this link to confirm your attendance:
2727
28-
{confirmation_link}
28+
{confirmation_link}
2929
3030
We look forward to seeing you at {event_name} - Please contact us if you have any
3131
questions! We will reach out again before the conference to tell you details
@@ -89,10 +89,27 @@
8989
"""Hi,
9090
9191
you have received a new proposal for your event {event_name}:
92-
{submission_title} by {speakers}.
92+
"{submission_title}" by {speakers}.
9393
You can see details at
9494
95-
{orga_url}
95+
{orga_url}
96+
97+
All the best,
98+
your {event_name} CfP system.
99+
"""
100+
)
101+
)
102+
UPDATE_SUBJECT = LazyI18nString.from_gettext(
103+
_("[{event_name}] A talk has been modified: {submission_title}")
104+
)
105+
UPDATE_TEXT = LazyI18nString.from_gettext(
106+
_(
107+
"""Hi,
108+
109+
the proposal "{submission_title}" for your event {event_name} has been modified.
110+
You can see details at
111+
112+
{orga_url}
96113
97114
All the best,
98115
your {event_name} CfP system.

0 commit comments

Comments
 (0)