email template fo rreplacements

This commit is contained in:
Dobromir Popov
2024-04-05 23:44:27 +03:00
parent bac4f4c7d5
commit fa5d3f4f99
4 changed files with 207 additions and 72 deletions

View File

@ -0,0 +1,24 @@
{{!-- Subject: Your email subject here --}}
{{!-- Text: Plain text version of your email. If not provided, HTML tags will be stripped from the HTML version for the
text version. --}}
<section>
<h3>{{firstName}} {{lastName}} търси зместник за {{placeName}}!</h3>
<p>Здравейте,</p>
<p>{{prefix}} {{firstName}} {{lastName}} търси заместник за своята смяна на {{dateStr}} на {{placeName}}.</p>
{{!-- <p><strong>Shift Details:</strong></p> --}}
{{!-- <p>Date: {{date}}<br>Time: {{time}}<br>Location: {{placeName}}</p> --}}
<p>С натискането на бутона по-долу можете да премете да го замествате. Вие, той/тя и останалите участници в смяната
ще бъдат уведумени чрез имейл за промяната. Вашата помощ е високо ценена.</p>
<p style="text-align: center;">
<a href="{{acceptUrl}}"
target="_blank"
style="background-color: #4CAF50; color: white; padding: 10px 20px; text-decoration: none; display: inline-block; border-radius: 5px;">Приеми
смяната</a>
</p>
{{!-- <p>Thank you very much for considering my request.</p>
<p>Best regards,<br>{{name}}</p> --}}
</section>
<footer style="margin-top: 20px; text-align: center;">
<p>Изпратено на: {{sentDate}}</p>
</footer>

View File

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<title>Email Template</title>
</head>
<body>
<header style="background-color: #f3f3f3; padding: 20px; text-align: center;">
<h2>Company Name</h2>
</header>
<main style="margin: 20px;">
{{{body}}}
</main>
<footer style="background-color: #f3f3f3; padding: 20px; text-align: center;">
© 2024 Company Name. All rights reserved.
</footer>
</body>
</html>