add: plaintext email; improved templating
This commit is contained in:
143
templates/email/mail_registration.tmpl
Normal file
143
templates/email/mail_registration.tmpl
Normal file
@@ -0,0 +1,143 @@
|
||||
Moin Du Vorstand 👋,
|
||||
|
||||
Ein neues Mitglied!!!<br />{{.FirstName}} {{.LastName}} hat sich registriert.
|
||||
|
||||
Hier sind die Daten:
|
||||
---------------------
|
||||
|
||||
Das gebuchtes Modell:
|
||||
Name: {{.MembershipModel}}
|
||||
Preis/Monat: {{.MembershipFee}}
|
||||
Preis/h: {{.RentalFee}}
|
||||
|
||||
Persönliche Daten:
|
||||
{{if .Company}}
|
||||
Firma: {{.Company}}
|
||||
{{end}}
|
||||
Name: {{.FirstName}} {{.LastName}}
|
||||
Mitgliedsnr: {{.MembershipID}}
|
||||
|
||||
Adresse: {{.Address}},
|
||||
{{.ZipCode}} {{.City}}
|
||||
Geburtsdatum: {{.DateOfBirth}}
|
||||
Email: {{.Email}}
|
||||
Telefon: {{.Phone}}
|
||||
IBAN: {{.IBAN}}
|
||||
|
||||
Mit freundlichen Grüßen,
|
||||
|
||||
Dein untertänigster Wolkenrechner
|
||||
<!doctype html>
|
||||
<html>
|
||||
<body>
|
||||
<div
|
||||
style="
|
||||
background-color: #f2f5f7;
|
||||
color: #242424;
|
||||
font-family: "Helvetica Neue", "Arial Nova",
|
||||
"Nimbus Sans", Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.15008px;
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
padding: 32px 0;
|
||||
min-height: 100%;
|
||||
width: 100%;
|
||||
"
|
||||
>
|
||||
<table
|
||||
align="center"
|
||||
width="100%"
|
||||
style="margin: 0 auto; max-width: 600px; background-color: #ffffff"
|
||||
role="presentation"
|
||||
cellspacing="0"
|
||||
cellpadding="0"
|
||||
border="0"
|
||||
>
|
||||
<tbody>
|
||||
<tr style="width: 100%">
|
||||
<td>
|
||||
<div style="padding: 0px 24px 0px 24px">
|
||||
<a
|
||||
href="{{.BASEURL}}"
|
||||
style="text-decoration: none"
|
||||
target="_blank"
|
||||
><img
|
||||
alt="{{.WebsiteTitle}}"
|
||||
src="{{.BASEURL}}{{.Logo}}"
|
||||
style="
|
||||
outline: none;
|
||||
border: none;
|
||||
text-decoration: none;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
"
|
||||
/></a>
|
||||
</div>
|
||||
<div style="font-weight: normal; padding: 0px 24px 16px 24px">
|
||||
Moin Du Vorstand 👋,
|
||||
</div>
|
||||
<div style="font-weight: normal; padding: 0px 24px 16px 24px">
|
||||
<p>
|
||||
Ein neues Mitglied!!!<br />{{.FirstName}} {{.LastName}} hat
|
||||
sich registriert.
|
||||
</p>
|
||||
</div>
|
||||
<div
|
||||
style="
|
||||
font-size: 22px;
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
padding: 0px 24px 0px 24px;
|
||||
"
|
||||
>
|
||||
Hier sind die Daten:
|
||||
</div>
|
||||
<div style="font-weight: normal; padding: 16px 24px 0px 24px">
|
||||
<ul>
|
||||
<li>
|
||||
<strong>Das gebuchtes Modell</strong>:
|
||||
<ul>
|
||||
<li><strong>Name</strong>: {{.MembershipModel}}</li>
|
||||
<li><strong>Preis/Monat</strong>: {{.MembershipFee}}</li>
|
||||
<li><strong>Preis/h</strong>: {{.RentalFee}}</li>
|
||||
</ul>
|
||||
</li>
|
||||
{{if .Company}}
|
||||
<li><strong>Firma:</strong> {{.Company}}</li>
|
||||
{{end}}
|
||||
<li><strong>Name:</strong> {{.FirstName}} {{.LastName}}</li>
|
||||
<li><strong>Mitgliedsnr:</strong> {{.MembershipID}}</li>
|
||||
<li>
|
||||
<strong>Adresse:</strong> {{.Address}},{{.ZipCode}}
|
||||
{{.City}}
|
||||
</li>
|
||||
<li><strong>Geburtsdatum:</strong> {{.DateOfBirth}}</li>
|
||||
<li><strong>Email:</strong> {{.Email}}</li>
|
||||
<li><strong>Telefon:</strong> {{.Phone}}</li>
|
||||
<li><strong>IBAN:</strong> {{.IBAN}}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div style="padding: 16px 0px 16px 0px">
|
||||
<hr
|
||||
style="
|
||||
width: 100%;
|
||||
border: none;
|
||||
border-top: 1px solid #cccccc;
|
||||
margin: 0;
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
<div style="font-weight: normal; padding: 16px 24px 16px 24px">
|
||||
<p>Mit freundlichen Grüßen,</p>
|
||||
<p>Dein untertänigster Wolkenrechner</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user