The password reset, the new-music and activity summaries and the SMTP
test message each drew their own page; the test message had no layout
at all. They now share internal/mailer's layout: the Minstrel name at
the top, the email's heading and message on a card in the design
system's dark theme, and a footer saying which server sent it and why,
signed "— Minstrel", with the notification-settings link on the
summaries. A plain-text body in the same frame goes alongside.
An email supplies only its content templates and a Frame (heading,
server, reason). Links, buttons and quiet text take named styles from
the layout ({{style "link"}}), so colours change in one place; an
unknown style name fails the render. The SMTP test message is a
template now.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
359 B
Plaintext
10 lines
359 B
Plaintext
{{.Frame.Heading}}
|
|
|
|
{{template "content" .Content}}
|
|
--
|
|
Sent by {{.Frame.ServerName}} because {{.Frame.Reason}}.
|
|
{{- if .Frame.NotificationSettings}}
|
|
{{with .Frame.SettingsURL}}Choose which notifications are emailed to you: {{.}}{{else}}Choose which notifications are emailed to you in Minstrel, under Settings → Notifications.{{end}}
|
|
{{- end}}
|
|
— Minstrel
|