Files
tenant-registry/internal/mail/templates/en_document.published.tmpl
sharangandClaude Opus 5.5 874c399e31
ci / shared (push) Successful in 13s
ci / test (push) Successful in 23m27s
ci / image (push) Successful in 36s
feat(mail): company signature for the no-reply sender (#45)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-29 11:04:43 +00:00

24 lines
1.1 KiB
Cheetah

{{define "subject"}}New document for {{.Tenant}}: {{.D.title}}{{end}}
{{define "button"}}Open the document{{end}}
{{define "footer"}}You receive this email because you may view documents in the {{.Tenant}} workspace.{{end}}
{{define "html"}}<p style="margin:0 0 12px 0;font-size:18px;font-weight:bold;">A new document is ready for you</p>
<p style="margin:0 0 12px 0;">BreakPilot published a document in the <strong>{{.Tenant}}</strong> workspace:</p>
<p style="margin:0 0 4px 0;font-weight:bold;">{{.D.title}}</p>
{{if .D.description}}<p style="margin:0 0 12px 0;color:#414669;">{{.D.description}}</p>{{end}}
<p style="margin:0 0 12px 0;">You find it in the portal under <em>Documents</em>. Every download is recorded in the audit log.</p>{{end}}
{{define "text"}}A new document is ready for you
BreakPilot published a document in the {{.Tenant}} workspace:
{{.D.title}}
{{if .D.description}} {{.D.description}}
{{end}}
You find it in the portal under "Documents":
{{.URL}}
{{template "signature_text" .}}
--
You receive this email because you may view documents in the {{.Tenant}} workspace.
BreakPilot GmbH · https://breakpilot.com/impressum{{end}}