discourse/app/views/email
David Battersby 17e6ea96ab
UX: add preview to email templates (#36657)
Adds a preview text to the beginning of the email body based on user
notification type. The value is taken from the translation key, which
can be customized for each email within Admin -> Appearance -> Site
Texts (ie. translation overrides).

For html emails this preview text is hidden with `display: none` to
prevent it appearing within the body of the email. For the plain text
version of the email it will appear within the body of the email.

Co-authored-by: Martin Brennan <martin@discourse.org>
2026-01-08 11:33:53 +04:00
..
_mailing_list_post.html.erb DEV: update base url links to respect subfolder installs (#27740) 2024-07-09 12:42:38 +04:00
_post.html.erb DEV: Add a nofollow to /u so user profiles don't get added as a target for crawling (#30693) 2025-01-13 13:50:00 +08:00
_secure_mailing_list_post.html.erb
default_template.html UX: add preview to email templates (#36657) 2026-01-08 11:33:53 +04:00
notification.html.erb UX: add preview to email templates (#36657) 2026-01-08 11:33:53 +04:00
unsubscribe.html.erb
unsubscribed.html.erb