From a8001b37dc7f98b5dba56865095f310aa0259417 Mon Sep 17 00:00:00 2001 From: Kilian Boute Date: Tue, 23 Jun 2026 13:46:41 +0000 Subject: [PATCH] feat(email): add case-share white-label template + values Adds the Kerberos-branded share_case email template (html/txt) and wires caseShare/caseShareTitle into the hub email template values so the case-share invitation renders with the dedicated template instead of the recording-share one. --- base/hub/kerberos-hub-values.yaml | 2 + base/volume/templates/share_case.html | 418 ++++++++++++++++++++++++++ base/volume/templates/share_case.txt | 21 ++ 3 files changed, 441 insertions(+) create mode 100644 base/volume/templates/share_case.html create mode 100644 base/volume/templates/share_case.txt diff --git a/base/hub/kerberos-hub-values.yaml b/base/hub/kerberos-hub-values.yaml index ed53eb0..c709095 100644 --- a/base/hub/kerberos-hub-values.yaml +++ b/base/hub/kerberos-hub-values.yaml @@ -131,6 +131,8 @@ email: forgotTitle: "Password reset Kerberos Hub. You forgot your password" share: "share" shareTitle: "[Action] You received a recording from Kerberos Hub" + caseShare: "share_case" + caseShareTitle: "[Action] A case has been shared with you on Kerberos Hub" detection: "detection" disabled: "disabled" highupload: "highupload" diff --git a/base/volume/templates/share_case.html b/base/volume/templates/share_case.html new file mode 100644 index 0000000..cfd790d --- /dev/null +++ b/base/volume/templates/share_case.html @@ -0,0 +1,418 @@ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
Kerberos.io +

Kerberos.io

+
+ +

{{tab1_title}}

+
+
+ +

{{tab2_title}}

+
+
+
+ + + + +
+ + + + + + + + +
+

A case has been shared with you

+

{{user}} shared a case with you

+
+
+ + + + +
+ + + + + + + + +
+

Open the shared case

+

{{user}} has shared a case with you. Click the button below to open it. You'll be asked to request a one-time verification code from the share page itself.

This link will expire in {{expiry}}.

+ + + +

Open case ->

+
+
+
+ + + + +
+ + + + + + + + + + + + + + + + + + +
+
+ + diff --git a/base/volume/templates/share_case.txt b/base/volume/templates/share_case.txt new file mode 100644 index 0000000..ce660dc --- /dev/null +++ b/base/volume/templates/share_case.txt @@ -0,0 +1,21 @@ +Kerberos.io +------------ + +A case has been shared with you +{{user}} shared a case with you + +Open the shared case +{{user}} has shared a case with you. Open the link below to access it — you'll be asked to request a one-time verification code from the share page. +{{url}} + +This link will expire in {{expiry}}. + +Get in touch +------------ +support@kerberos.io +9000 Ghent, BE +https://kerberos.io + +About Kerberos +------------ +Welcome to the revolutionary video analytics and video management platform. Open, modular, and extensible for everyone, anywhere.