From aeec34bcfbcbfd9050e3764986071b9bb2e9aaae Mon Sep 17 00:00:00 2001 From: Kilian Ries Date: Mon, 29 Jun 2026 10:26:27 +0200 Subject: [PATCH] style: neutralize quarantine notification template colors Make the default notification email look more professional and less playful by removing the bright-green chrome: - Header: solid green bar -> white header with dark slate title and a subtle bottom divider, merged flush with the body as one card. - Primary action button (release / send copy): green -> dark slate, with a lighter-slate dark-mode override. Semantic status badges (rejected = red, junk = amber) and all Jinja2 variables, escaping, qhandler links, dark-mode and mobile rules are unchanged. --- data/assets/templates/quarantine.tpl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/data/assets/templates/quarantine.tpl b/data/assets/templates/quarantine.tpl index eb517cc94..8442809fe 100644 --- a/data/assets/templates/quarantine.tpl +++ b/data/assets/templates/quarantine.tpl @@ -42,6 +42,7 @@ .border-card { border-color: #343842 !important; } .divider { border-color: #343842 !important; } .btn-secondary a { color: #e7e9ee !important; border-color: #4a4f5a !important; } + .btn-primary-cell { background-color: #3a4350 !important; } } @@ -58,11 +59,11 @@ - + - @@ -125,7 +126,7 @@
- + + ✉  Quarantine notification -
+ {% if line.action == "reject" %}Release to inbox{% else %}Send copy to inbox{% endif %}