feat(mail): the website's palette and wordmark in the notification mails (#40)
ci / shared (push) Successful in 12s
ci / test (push) Successful in 23m24s
ci / image (push) Successful in 38s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
This commit was merged in pull request #40.
This commit is contained in:
sharangandClaude Opus 5.5 committed 2026-09-25 21:23:12 +00:00
1 parent 7834907562
commit b0ba984793
5 files changed
+18 -19

No files matched your search

@@ -4,7 +4,7 @@
{{define "html"}}<p style="margin:0 0 12px 0;font-size:18px;font-weight:bold;">Ein neues Dokument liegt für Sie bereit</p>
<p style="margin:0 0 12px 0;">BreakPilot hat im Arbeitsbereich <strong>{{.Tenant}}</strong> ein Dokument veröffentlicht:</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:#57526b;">{{.D.description}}</p>{{end}}
{{if .D.description}}<p style="margin:0 0 12px 0;color:#414669;">{{.D.description}}</p>{{end}}
<p style="margin:0 0 12px 0;">Sie finden es im Portal unter <em>Dokumente</em>. Jeder Download wird im Audit-Log festgehalten.</p>{{end}}
{{define "text"}}Ein neues Dokument liegt für Sie bereit
+4 -4
View File
@@ -4,10 +4,10 @@
{{define "html"}}<p style="margin:0 0 12px 0;font-size:18px;font-weight:bold;">Prüfwerk hat neue Befunde gefunden</p>
<p style="margin:0 0 12px 0;">Die letzte Prüfung von <strong>{{.D.target_name}}</strong> im Arbeitsbereich {{.Tenant}} hat <strong>{{.D.new_count}}</strong> Befunde ergeben, die es vorher nicht gab.</p>
<table role="presentation" cellpadding="0" cellspacing="0" style="margin:0 0 14px 0;font-size:13px;">
<tr><td style="padding:3px 14px 3px 0;color:#b42318;font-weight:bold;">Kritisch</td><td style="padding:3px 0;">{{or .D.critical 0}}</td></tr>
<tr><td style="padding:3px 14px 3px 0;color:#c4320a;font-weight:bold;">Hoch</td><td style="padding:3px 0;">{{or .D.high 0}}</td></tr>
<tr><td style="padding:3px 14px 3px 0;color:#b54708;">Mittel</td><td style="padding:3px 0;">{{or .D.medium 0}}</td></tr>
<tr><td style="padding:3px 14px 3px 0;color:#57526b;">Niedrig / Info</td><td style="padding:3px 0;">{{or .D.low 0}}</td></tr>
<tr><td style="padding:3px 14px 3px 0;color:#B3372F;font-weight:bold;">Kritisch</td><td style="padding:3px 0;">{{or .D.critical 0}}</td></tr>
<tr><td style="padding:3px 14px 3px 0;color:#C4612A;font-weight:bold;">Hoch</td><td style="padding:3px 0;">{{or .D.high 0}}</td></tr>
<tr><td style="padding:3px 14px 3px 0;color:#B5761F;">Mittel</td><td style="padding:3px 0;">{{or .D.medium 0}}</td></tr>
<tr><td style="padding:3px 14px 3px 0;color:#414669;">Niedrig / Info</td><td style="padding:3px 0;">{{or .D.low 0}}</td></tr>
</table>
<p style="margin:0 0 12px 0;">Jeder Befund hat eine KI-Bewertung, einen Beleg im Code und einen Behebungsvorschlag.</p>{{end}}
{{define "text"}}Prüfwerk hat neue Befunde gefunden
@@ -4,7 +4,7 @@
{{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:#57526b;">{{.D.description}}</p>{{end}}
{{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
+4 -4
View File
@@ -4,10 +4,10 @@
{{define "html"}}<p style="margin:0 0 12px 0;font-size:18px;font-weight:bold;">Prüfwerk found new findings</p>
<p style="margin:0 0 12px 0;">The latest scan of <strong>{{.D.target_name}}</strong> in the {{.Tenant}} workspace produced <strong>{{.D.new_count}}</strong> findings that were not there before.</p>
<table role="presentation" cellpadding="0" cellspacing="0" style="margin:0 0 14px 0;font-size:13px;">
<tr><td style="padding:3px 14px 3px 0;color:#b42318;font-weight:bold;">Critical</td><td style="padding:3px 0;">{{or .D.critical 0}}</td></tr>
<tr><td style="padding:3px 14px 3px 0;color:#c4320a;font-weight:bold;">High</td><td style="padding:3px 0;">{{or .D.high 0}}</td></tr>
<tr><td style="padding:3px 14px 3px 0;color:#b54708;">Medium</td><td style="padding:3px 0;">{{or .D.medium 0}}</td></tr>
<tr><td style="padding:3px 14px 3px 0;color:#57526b;">Low / info</td><td style="padding:3px 0;">{{or .D.low 0}}</td></tr>
<tr><td style="padding:3px 14px 3px 0;color:#B3372F;font-weight:bold;">Critical</td><td style="padding:3px 0;">{{or .D.critical 0}}</td></tr>
<tr><td style="padding:3px 14px 3px 0;color:#C4612A;font-weight:bold;">High</td><td style="padding:3px 0;">{{or .D.high 0}}</td></tr>
<tr><td style="padding:3px 14px 3px 0;color:#B5761F;">Medium</td><td style="padding:3px 0;">{{or .D.medium 0}}</td></tr>
<tr><td style="padding:3px 14px 3px 0;color:#414669;">Low / info</td><td style="padding:3px 0;">{{or .D.low 0}}</td></tr>
</table>
<p style="margin:0 0 12px 0;">Every finding comes with an AI assessment, the code evidence and a suggested fix.</p>{{end}}
{{define "text"}}Prüfwerk found new findings
+8 -9
View File
@@ -1,25 +1,24 @@
{{define "layout"}}<!doctype html>
<html lang="{{.Lang}}">
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>{{.Subject}}</title></head>
<body style="margin:0;padding:0;background:#f4f3f8;font-family:Arial,Helvetica,sans-serif;color:#1d1a2e;">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f4f3f8;padding:24px 12px;">
<body style="margin:0;padding:0;background:#F5F6FB;font-family:Arial,Helvetica,sans-serif;color:#14162B;">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#F5F6FB;padding:24px 12px;">
<tr><td align="center">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:560px;background:#ffffff;border-radius:8px;border:1px solid #e4e1ef;">
<tr><td style="padding:20px 28px;border-bottom:1px solid #eeecf5;">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:560px;background:#ffffff;border-radius:10px;border:1px solid #E4E6F0;">
<tr><td style="padding:20px 28px;border-bottom:1px solid #EFF0F6;">
<table role="presentation" cellpadding="0" cellspacing="0"><tr>
<td style="width:28px;height:28px;background:#6d3fe0;border-radius:6px;color:#ffffff;font-weight:bold;font-size:16px;text-align:center;vertical-align:middle;">B</td>
<td style="padding-left:10px;font-size:15px;font-weight:bold;letter-spacing:-0.2px;">BreakPilot</td>
<td style="font-size:17px;font-weight:800;letter-spacing:-0.3px;color:#14162B;">Break<span style="color:#4F46E5;">Pilot</span></td>
</tr></table>
</td></tr>
<tr><td style="padding:28px 28px 8px 28px;font-size:14px;line-height:1.6;">
{{template "html" .}}
</td></tr>
<tr><td style="padding:8px 28px 28px 28px;">
<a href="{{.URL}}" style="display:inline-block;background:#6d3fe0;color:#ffffff;text-decoration:none;font-weight:bold;font-size:14px;padding:10px 18px;border-radius:6px;">{{template "button" .}}</a>
<a href="{{.URL}}" style="display:inline-block;background:#4F46E5;color:#ffffff;text-decoration:none;font-weight:bold;font-size:14px;padding:11px 20px;border-radius:8px;">{{template "button" .}}</a>
</td></tr>
<tr><td style="padding:18px 28px;border-top:1px solid #eeecf5;font-size:11.5px;line-height:1.6;color:#7a7590;">
<tr><td style="padding:18px 28px;border-top:1px solid #EFF0F6;font-size:11.5px;line-height:1.6;color:#5E6384;">
{{template "footer" .}}<br>
BreakPilot GmbH · <a href="https://breakpilot.com/impressum" style="color:#7a7590;">{{if eq .Lang "de"}}Impressum{{else}}Imprint{{end}}</a> · <a href="https://breakpilot.com/datenschutz" style="color:#7a7590;">{{if eq .Lang "de"}}Datenschutz{{else}}Privacy{{end}}</a>
Breakpilot GmbH · <a href="https://breakpilot.com/impressum" style="color:#5E6384;">{{if eq .Lang "de"}}Impressum{{else}}Imprint{{end}}</a> · <a href="https://breakpilot.com/datenschutz" style="color:#5E6384;">{{if eq .Lang "de"}}Datenschutz{{else}}Privacy{{end}}</a>
</td></tr>
</table>
</td></tr>