-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #171 from codeanker/feature/mjml
implement mjml email templates
- Loading branch information
Showing
31 changed files
with
1,703 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,5 +33,11 @@ | |
}, | ||
"tomtom": { | ||
"apiKey": "" | ||
}, | ||
"public": { | ||
"legal": { | ||
"imprint": "", | ||
"privacy": "" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<mjml> | ||
<mj-head> | ||
<mj-attributes> | ||
<mj-all font-family="sans-serif" /> | ||
</mj-attributes> | ||
|
||
<mj-style> | ||
.footer { | ||
padding: 10px 0; | ||
} | ||
|
||
.footer a, | ||
.footer p { | ||
color: #696969; | ||
} | ||
</mj-style> | ||
</mj-head> | ||
|
||
<mj-body background-color="#f1f5f9"> | ||
<mj-wrapper background-color="#fff" border-radius="32px"> | ||
<mj-section> | ||
<mj-column vertical-align="middle"> | ||
<mj-text align="left" font-size="24px">{{ veranstaltung }}</mj-text> | ||
</mj-column> | ||
<mj-column vertical-align="middle"> | ||
<mj-text align="right" font-size="18px">DLRG {{ gliederung }}</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
|
||
<mj-section> | ||
<mj-column> | ||
<mj-text font-size="30px" font-weight="500"> | ||
{{ subject }} | ||
</mj-text> | ||
|
||
<mj-text font-size="16px"> | ||
Moin {{ name }}, | ||
</mj-text> | ||
|
||
{{> @partial-block }} | ||
</mj-column> | ||
</mj-section> | ||
|
||
<mj-section> | ||
<mj-column> | ||
<mj-text> | ||
Viele Grüße | ||
</mj-text> | ||
<mj-text> | ||
Dein Orga-Team | ||
</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
</mj-wrapper> | ||
|
||
<mj-section css-class="footer" padding="10px 0 0 0"> | ||
<mj-column> | ||
<!-- Logo von LV --> | ||
<mj-image width="192px" src="{{ url 'img/gliederung_sh.png' }}"></mj-image> | ||
</mj-column> | ||
</mj-section> | ||
|
||
<mj-section css-class="footer" padding="0"> | ||
<mj-column> | ||
<mj-text align="center" font-size="12px"> | ||
<a href="{{ config 'public.legal.imprint' }}">Impressum</a> | ||
<span> - </span> | ||
<a href="{{ config 'public.legal.privacy' }}">Datenschutz</a> | ||
</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
</mj-body> | ||
</mjml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{{#> layout }} | ||
|
||
<mj-text font-size="16px" line-height="1.5"> | ||
Dein <b>{{ hostname }}</b> Account wurde bestätigt. | ||
Bevor du dich anmelden kannst, muss dein Account noch durch einen Administrator | ||
aktiviert werden. | ||
</mj-text> | ||
|
||
{{/layout}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{{#> layout }} | ||
|
||
<mj-text font-size="16px" line-height="1.5"> | ||
Dein <b>{{ hostname }}</b> Account wurde erstellt. Um den Registrierungsprozess | ||
abzuschließen, bestätige deine E-Mail Adresse bitte mit dem nachfolgenden Link. | ||
</mj-text> | ||
|
||
<mj-button | ||
align="left" | ||
background-color="#16a34a" | ||
border-radius="8px" | ||
font-size="16px" | ||
href="{{ activationUrl }}" | ||
> | ||
Account bestätigen | ||
</mj-button> | ||
|
||
{{/layout}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{{#> layout }} | ||
|
||
<mj-text font-size="16px" line-height="1.5"> | ||
Wir haben eine Anfrage erhalten, das Passwort für deinen Account bei <b>{{ hostname }}</b> zurückzusetzen. | ||
Nutze den nachfolgenden Link, um das zu tun. | ||
</mj-text> | ||
|
||
<mj-button | ||
align="left" | ||
background-color="#16a34a" | ||
border-radius="8px" | ||
font-size="16px" | ||
href="{{ resetUrl }}" | ||
> | ||
Passwort zurücksetzen | ||
</mj-button> | ||
|
||
{{/layout}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{#> layout }} | ||
|
||
<mj-text font-size="16px" line-height="1.5"> | ||
Der Status deines <b>{{ hostname }}</b> Account wurde auf <b>{{ status }}</b> geändert. | ||
</mj-text> | ||
|
||
{{#if isActive }} | ||
<mj-button | ||
align="left" | ||
background-color="#16a34a" | ||
border-radius="8px" | ||
font-size="16px" | ||
href="{{ config 'clientUrl' }}/login" | ||
> | ||
Zur Anmeldung | ||
</mj-button> | ||
{{/if}} | ||
|
||
{{/layout}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{{#> layout }} | ||
|
||
<mj-text font-size="16px" line-height="1.5"> | ||
Deine Anmeldung zur Veranstaltung {{ veranstaltung }} <b>wurde storniert</b>. | ||
</mj-text> | ||
|
||
<mj-text font-size="16px" line-height="1.5"> | ||
Für Fragen wende dich bitte an deine Gliederung. | ||
</mj-text> | ||
|
||
{{/layout}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{{#> layout }} | ||
|
||
<mj-text font-size="16px" line-height="1.5"> | ||
Deine Anmeldung zur Veranstaltung {{ veranstaltung }} <b>wurde bestätigt</b>. | ||
</mj-text> | ||
|
||
<mj-text font-size="16px" line-height="1.5"> | ||
Für Fragen wende dich bitte an deine Gliederung. | ||
</mj-text> | ||
|
||
{{/layout}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{{#> layout }} | ||
|
||
<mj-text font-size="16px" line-height="1.5"> | ||
Deine Anmeldung zur Veranstaltung {{ veranstaltung }} <b>wurde abgelehnt</b>. | ||
</mj-text> | ||
|
||
<mj-text font-size="16px" line-height="1.5"> | ||
Bei Fragen wende dich bitte an deine Gliederung unter der nachfolgenden E-Mail Adresse: | ||
</mj-text> | ||
|
||
{{/layout}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{{#> layout }} | ||
|
||
<mj-text font-size="16px" line-height="1.5"> | ||
Vielen Dank für deine Anmeldung zur Veranstaltung {{ veranstaltung }}. | ||
</mj-text> | ||
|
||
<mj-text font-size="16px" line-height="1.5"> | ||
<b>Wichtig</b>: Deine Anmeldung ist noch nicht bestätigt. Sobald sich der Status | ||
ändert, erhältst Du eine weitere E-Mail. | ||
</mj-text> | ||
|
||
{{/layout}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.