Expand description
The HTML shells outgoing emails are wrapped in. See email_processor::wrap_in_layout.
Structs§
- Email
Layout - A configured shell, as opposed to the default bundled in the code.
- Resolved
Layout - The shell an email is rendered with and the colours its buttons get: a live layout, or the bundled default.
Functions§
- find_
for_ language - The shell for an email in
language(a BCP 47 tag such as “fi” or “fi-FI”): the exact match, else the match on its primary subtag, else the language-less shell. Case-insensitive.Nonemeans the bundled default applies. - get_
all_ live - Every live shell, at most one per language. Pick one for an email with
find_for_language.