mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 19:07:30 +00:00
feat: Private label email policy (#813)
* Label Policy added * save * chore: update docs action * Save * Save * Get colors from DB * Variables inserted * Get images from global directory. * Add tests * Add tests * Corrections from mergerequest * Corrections from mergerequest * Test corrected. * Added colors to all notifications. * Added colors to Corrected text and formatting.all notifications. * Spelling error corrected. * fix: tests * Merge Branch corrected. * Step6 added * Corrections from mergerequest * fix: generate management * Formatted texts. * fix: migrations Co-authored-by: Florian Forster <florian@caos.ch> Co-authored-by: adlerhurst <silvan.reusser@gmail.com> Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
This commit is contained in:
@@ -3,28 +3,28 @@ InitCode:
|
||||
PreHeader: User initialisieren
|
||||
Subject: User initialisieren
|
||||
Greeting: Hallo {{.FirstName}} {{.LastName}},
|
||||
Text: Dieser Benutzer wurde soeben im Zitadel erstellt. Mit dem Benutzernamen {{.PreferredLoginName}} kannst du dich anmelden. Nutze den untenstehenden Button, um die Initialisierung abzuschliesen. (Code {{.Code}}) Falls du dieses Mail nicht angefordert hast, kannst du es einfach ignorieren.
|
||||
Text: Dieser Benutzer wurde soeben im Zitadel erstellt. Mit dem Benutzernamen <br><strong>{{.PreferredLoginName}}</strong><br> kannst du dich anmelden. Nutze den untenstehenden Button, um die Initialisierung abzuschliessen <br>(Code <strong>{{.Code}}</strong>).<br> Falls du dieses Mail nicht angefordert hast, kannst du es einfach ignorieren.
|
||||
ButtonText: Initialisierung abschliessen
|
||||
PasswordReset:
|
||||
Title: Zitadel - Passwort zurücksetzen
|
||||
PreHeader: Passwort zurücksetzen
|
||||
Subject: Passwort zurücksetzen
|
||||
Greeting: Hallo {{.FirstName}} {{.LastName}},
|
||||
Text: Wir haben eine Anfrage für das Zurücksetzen deines Passwortes bekommen. Du kannst den untenstehenden Button verwenden, um dein Passwort zurückzusetzen. (Code {{.Code}}) Falls du dieses Mail nicht angefordert hast, kannst du es ignorieren.
|
||||
Text: Wir haben eine Anfrage für das Zurücksetzen deines Passwortes bekommen. Du kannst den untenstehenden Button verwenden, um dein Passwort zurückzusetzen <br>(Code <strong>{{.Code}}</strong>).<br> Falls du dieses Mail nicht angefordert hast, kannst du es ignorieren.
|
||||
ButtonText: Passwort zurücksetzen
|
||||
VerifyEmail:
|
||||
Title: Zitadel - Email verifizieren
|
||||
PreHeader: Email verifizieren
|
||||
Subject: Email verifizieren
|
||||
Greeting: Hallo {{.FirstName}} {{.LastName}},
|
||||
Text: Eine neue E-Mail Adresse wurde hinzugefügt. Bitte verwende den untenstehenden Button um diese zu verifizieren. (Code {{.Code}}) Falls du deine E-Mail Adresse nicht selber hinzugefügt hast, kannst du dieses E-Mail ignorieren.
|
||||
Text: Eine neue E-Mail Adresse wurde hinzugefügt. Bitte verwende den untenstehenden Button um diese zu verifizieren <br>(Code <strong>{{.Code}}</strong>).<br> Falls du deine E-Mail Adresse nicht selber hinzugefügt hast, kannst du dieses E-Mail ignorieren.
|
||||
ButtonText: Email verifizieren
|
||||
VerifyPhone:
|
||||
Title: Zitadel - Telefonnummer verifizieren
|
||||
PreHeader: Telefonnummer verifizieren
|
||||
Subject: Telefonnummer verifizieren
|
||||
Greeting: Hallo {{.FirstName}} {{.LastName}},
|
||||
Text: Eine Telefonnummer wurde hinzugefügt. Bitte verifiziere diese in dem du folgenden Code eingibst {{.Code}}
|
||||
Text: Eine Telefonnummer wurde hinzugefügt. Bitte verifiziere diese in dem du folgenden Code eingibst<br>(Code <strong>{{.Code}}</strong>).<br>
|
||||
ButtonText: Telefon verifizieren
|
||||
DomainClaimed:
|
||||
Title: Zitadel - Domain wurde beansprucht
|
||||
|
@@ -0,0 +1,49 @@
|
||||
<mjml>
|
||||
<mj-head>
|
||||
<mj-attributes>
|
||||
<mj-text align="center" color="#ffffff" font-family="Lato" />
|
||||
<mj-section padding="0" full-width="full-width" />
|
||||
<mj-body background-color="#222324" />
|
||||
<mj-image padding="0" />
|
||||
<mj-column padding="0" />
|
||||
<mj-wrapper padding-left="0" />
|
||||
<mj-wrapper full-width="full-width" />
|
||||
<mj-class name="left" position="" />
|
||||
</mj-attributes>
|
||||
</mj-head>
|
||||
<mj-body>
|
||||
<mj-wrapper background-url="https://static.zitadel.ch/zitadel-logo-outline-light.png" border="0" background-repeat="no-repeat">
|
||||
<mj-section>
|
||||
<mj-group>
|
||||
<mj-column>
|
||||
<mj-image src="https://static.zitadel.ch/zitadel-logo-light.png" align="left" width="100px" padding="0" />
|
||||
</mj-column>
|
||||
</mj-group>
|
||||
</mj-section>
|
||||
<mj-section>
|
||||
<mj-group>
|
||||
<mj-column width="20%">
|
||||
<mj-image src="https://static.zitadel.ch/flavor-spikes-small-opacity40.png" align="left" heigh="80%" width="80%" />
|
||||
</mj-column>
|
||||
<mj-column width="60%">
|
||||
<mj-text font-size="2rem" font-weight="light">{{.Greeting}}</mj-text>
|
||||
<mj-text font-size="1.25rem" font-weight="light">{{.Text}}</mj-text>
|
||||
<mj-button href="{{.URL}}" background-color="#5282C1" font-size="16px">{{.ButtonText}}</mj-button>
|
||||
<mj-text>
|
||||
<a href="http://www.caos.ch" style="color:#e91e63; text-decoration: none;" target="_blank"> CAOS AG </a> | Teufener Strasse 19 | CH-9000 St. Gallen </mj-text>
|
||||
</mj-column>
|
||||
<mj-column width="20%">
|
||||
<mj-image src="https://static.zitadel.ch/flavor-spikes-big-opacity40.png" align="right" />
|
||||
</mj-column>
|
||||
</mj-group>
|
||||
</mj-section>
|
||||
<mj-section>
|
||||
<mj-group>
|
||||
<mj-column>
|
||||
<mj-image src="https://static.zitadel.ch/logo_whitefont_transparentbg.png" align="right" heigh="65%" width="65%" padding-right="20px" />
|
||||
</mj-column>
|
||||
</mj-group>
|
||||
</mj-section>
|
||||
</mj-wrapper>
|
||||
</mj-body>
|
||||
</mjml>
|
@@ -0,0 +1,49 @@
|
||||
<mjml>
|
||||
<mj-head>
|
||||
<mj-attributes>
|
||||
<mj-text align="center" color="#555" font-family="Lato" />
|
||||
<mj-section padding="0" full-width="full-width" />
|
||||
<mj-body />
|
||||
<mj-image padding="0" />
|
||||
<mj-column padding="0" />
|
||||
<mj-wrapper padding-left="0" />
|
||||
<mj-wrapper full-width="full-width" />
|
||||
<mj-class name="left" position="" />
|
||||
</mj-attributes>
|
||||
</mj-head>
|
||||
<mj-body>
|
||||
<mj-wrapper background-url="https://static.zitadel.ch/zitadel-logo-outline-dark.png" border="0" background-repeat="no-repeat">
|
||||
<mj-section>
|
||||
<mj-group>
|
||||
<mj-column>
|
||||
<mj-image src="https://static.zitadel.ch/zitadel-logo-dark.png" align="left" width="100px" padding="0" />
|
||||
</mj-column>
|
||||
</mj-group>
|
||||
</mj-section>
|
||||
<mj-section>
|
||||
<mj-group>
|
||||
<mj-column width="20%">
|
||||
<mj-image src="https://static.zitadel.ch/flavor-spikes-small-opacity40.png" align="left" />
|
||||
</mj-column>
|
||||
<mj-column width="60%">
|
||||
<mj-text font-size="2rem" font-weight="light">{{.Greeting}}</mj-text>
|
||||
<mj-text font-size="1.25rem" font-weight="light">{{.Text}}</mj-text>
|
||||
<mj-button href="{{.URL}}" background-color="#5282C1" font-size="16px">{{.ButtonText}}</mj-button>
|
||||
<mj-text>
|
||||
<a href="http://www.caos.ch" style="color:#e91e63; text-decoration: none;" target="_blank"> CAOS AG </a> | Teufener Strasse 19 | CH-9000 St. Gallen </mj-text>
|
||||
</mj-column>
|
||||
<mj-column width="20%">
|
||||
<mj-image src="https://static.zitadel.ch/flavor-spikes-big-opacity40.png" align="right" />
|
||||
</mj-column>
|
||||
</mj-group>
|
||||
</mj-section>
|
||||
<mj-section>
|
||||
<mj-group>
|
||||
<mj-column>
|
||||
<mj-image src="https://static.zitadel.ch/logo-gsuite-light.png" align="right" width="100px" />
|
||||
</mj-column>
|
||||
</mj-group>
|
||||
</mj-section>
|
||||
</mj-wrapper>
|
||||
</mj-body>
|
||||
</mjml>
|
@@ -0,0 +1,32 @@
|
||||
<mjml>
|
||||
<mj-head>
|
||||
<mj-attributes>
|
||||
<mj-text align="center" color="#555" font-family="Lato" />
|
||||
<mj-section full-width="full-width" />
|
||||
<mj-body />
|
||||
<mj-image padding="0" />
|
||||
<mj-column />
|
||||
<mj-class name="left" align="left" position="absolute" width="50%" />
|
||||
<mj-class name="right" align="right" />
|
||||
<mj-class name="position" position="absolute" />
|
||||
<mj-class name="body" background-image="url('https://static.zitadel.ch/logo-gsuite-light.png')" />
|
||||
</mj-attributes>
|
||||
</mj-head>
|
||||
<mj-body mj-class="body">
|
||||
<mj-section background-url="https://static.zitadel.ch/zitadel-logo-outline-dark.png" border="0" background-repeat="no-repeat">
|
||||
<mj-group>
|
||||
<mj-column>
|
||||
<mj-image src="https://static.zitadel.ch/zitadel-logo-dark.png" width="100px" padding="0" mj-class="left" />
|
||||
<mj-image src="https://static.zitadel.ch/flavor-spikes-small-opacity40.png" mj-class="left position" />
|
||||
<mj-text font-size="2rem" font-weight="light">{{.Greeting}}</mj-text>
|
||||
<mj-text font-size="1.25rem" font-weight="light">{{.Text}}</mj-text>
|
||||
<mj-button href="{{.URL}}" background-color="#5282C1" font-size="16px">{{.ButtonText}}</mj-button>
|
||||
<mj-text>
|
||||
<a href="http://www.caos.ch" style="color:#e91e63; text-decoration: none;" target="_blank"> CAOS AG </a> | Teufener Strasse 19 | CH-9000 St. Gallen </mj-text>
|
||||
<mj-image src="https://static.zitadel.ch/flavor-spikes-big-opacity40.png" width="50%" mj-class="right position" />
|
||||
<mj-image src="https://static.zitadel.ch/logo-gsuite-light.png" width="100px" padding="0" mj-class="right" />
|
||||
</mj-column>
|
||||
</mj-group>
|
||||
</mj-section>
|
||||
</mj-body>
|
||||
</mjml>
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user