Skip to content

Commit

Permalink
⚗️ [#2059] Added static mail templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jiromaykin committed Jan 30, 2024
1 parent 69b958d commit 6698209
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 176 deletions.
Original file line number Diff line number Diff line change
@@ -1,76 +1,82 @@
{% load i18n %}
<table class="table-mail" width="100%" cellpadding="0" cellspacing="0" style="background-color: #ffffff;border-spacing: 0;border-collapse: collapse;width: 100%;">
<tbody>
<tr>
<td class="td-mail__bg-accent" colspan="6" style="background-color: #e10019;">&nbsp;</td>
</tr>
<tr>
<td class="td-mail logo-mail td__padding-top" colspan="6" style="text-align: center;width: auto;max-height: 53px;font-family: Arial, sans-serif;padding-top: 24px;"><img src="https://mijn.groningen.nl/media/filer_public/c5/7b/c57bc4b3-6df7-46c8-bf45-7bfb99092a3f/logo-gemeente-groningen-rood-zwart.png" class="logo-mail" style="text-align: center;width: auto;max-height: 53px;"></td>
</tr>
<tr>
<td class="td-mail td__padding-all" colspan="6" style="font-family: Arial, sans-serif;padding: 24px;">
<p>Beste inwoner,</p>
<p>Er is een update over &eacute;&eacute;n van uw aanvragen beschikbaar:</p>
</td>
</tr>
<tr>
<td class="td-mail td-mail__bg-info td__padding-all" colspan="6" style="font-family: Arial, sans-serif;background-color: #d5e6f6;padding: 24px;">
<h1>Update</h1>
</td>
</tr>
<tr>
<td class="td-mail td-mail__bg-info td__padding-all" colspan="3" style="font-family: Arial, sans-serif;background-color: #d5e6f6;padding: 24px;">
<p><span class="text-color__small-grey-900" style="color: #676767;font-size: 14px;">Aanvraag: </span><br>Bijzondere bijstand aanvragen</p>
</td>
<td class="td-mail td-mail__bg-info td__padding-all" colspan="3" style="font-family: Arial, sans-serif;background-color: #d5e6f6;padding: 24px;">
<p><span class="text-color__small-grey-900" style="color: #676767;font-size: 14px;">Zaaknummer: </span><br>4500-2023-1010</p>
</td>
</tr>
<tr>
<td class="td-mail td-mail__bg-info td__padding-all" colspan="6" style="font-family: Arial, sans-serif;background-color: #d5e6f6;padding: 24px;">
<div>
<!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="http://example.com" style="height:36px;v-text-anchor:middle;width:150px;" arcsize="5%" strokecolor="#ffffff" fillcolor="#ffffff">
<w:anchorlock/>
<span style="color:#2566A7;font-family:Helvetica, Arial,sans-serif;font-size:16px;">Upload documenten &rarr;</span>
</v:roundrect>
<![endif]-->
<a href="http://example.com" style="background-color:#ffffff;border:1px solid #ffffff;border-radius:3px;color:#2566A7;display:inline-block;font-family:sans-serif;font-size:16px;line-height:44px;text-decoration:none;width:100%;-webkit-text-size-adjust:none;mso-hide:all;">
<p><strong>&#9432; De status is gewijzigd van Aanvraag ontvangen naar Aanvraag in behandeling.</p>
</a>
</div>
</td>
</tr>
<tr>
<td class="td-mail td-mail__bg-info td__padding-all" colspan="6" style="font-family: Arial, sans-serif;background-color: #d5e6f6;padding: 24px;">
<p>U hoeft niets te doen. Zodra er weer een update beschikbaar is ontvangt u hier een melding over.</p>
<p><a href="#" class="color--primary" style="color: #0065bd;">Bekijk aanvraag &rarr;</a></p>
</td>
</tr>
<tr>
<td class="td-mail td__padding-all" style="font-family: Arial, sans-serif;padding: 24px;" colspan="6">
<p>Met vriendelijke groet,</p>
<p>&nbsp;</p>
<p>Gemeente Groningen</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<hr>
<p>Dit bericht is automatisch verzonden. U kunt niet reageren op deze e-mail. </p>
</td>
</tr>

{% trans "Uw zaak is bijgewerkt op {{ site_name }}" %},

{% trans "U ontvangt deze email, omdat er bij een van uw zaken een document als bijlage is toegevoegd. " %}{{ domain }}{% trans " you requested a password reset." %}
{% trans "Please go to the following page and choose a new password: " %}

{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}

{% trans "Your username, in case you’ve forgotten: " %}{{ user.get_username }}

{% trans "With kind regards" %},
{{ site_name }}


{# Form python template: #}
{# "case_document_notification": {#}
{# "name": _("Case document update notification"),#}
{# "description": _(#}
{# "This email is used to notify people that a new document was added to their case"#}
{# ),#}
{# "subject_default": "Uw zaak is bijgewerkt op {{ site_name }}",#}
{# "body_default": """#}
{# <style>body {background-color: yellow;}</style>#}
{# <p>Beste</p>#}
{##}
{# <p>U ontvangt deze email, omdat er bij een van uw zaken een document als bijlage is toegevoegd.</p>#}
{##}
{# <table>#}
{# <tr>#}
{# <th>Zaakidentificatie</th>#}
{# <td>{{ identification }}</td>#}
{# </tr>#}
{# <tr>#}
{# <th>Zaaktype</th>#}
{# <td>{{ type_description }}</td>#}
{# </tr>#}
{# <tr>#}
{# <th>Startdatum</th>#}
{# <td>{{ start_date }}</td>#}
{# </tr>#}
{# </table>#}
{##}
{# <p><a href="{{ case_link }}">Ga naar uw zaak</a> </p>#}
{##}
{# <p>Met vriendelijke groet,#}
{# {{ site_name }} </p>#}
{# """,#}
{# "subject": [#}
{# {#}
{# "name": "site_name",#}
{# "description": _("Name of the site."),#}
{# },#}
{# ],#}
{# "body": [#}
{# {#}
{# "name": "identification",#}
{# "description": _("The identification of the case"),#}
{# },#}
{# {#}
{# "name": "type_description",#}
{# "description": _("The description of the type of the case"),#}
{# },#}
{# {#}
{# "name": "start_date",#}
{# "description": _("The start date of the case"),#}
{# },#}
{# {#}
{# "name": "case_link",#}
{# "description": _("The link to the case details."),#}
{# },#}
{# {#}
{# "name": "site_name",#}
{# "description": _("Name of the site"),#}
{# },#}
{# ],#}
<tr>
<td class="td-mail td__padding-all" style="font-family: Arial, sans-serif;padding: 24px;" colspan="6">
<p><strong>Contact opnemen</strong></p>
<p>Wilt u contact opnemen met ons?</p>
</td>
</tr>
<tr>
<td class="td-mail td__padding-all" colspan="3" style="font-family: Arial, sans-serif;padding: 24px;">Bekijk onze contactpagina</td>
<td class="td-mail td__padding-all" colspan="3" style="font-family: Arial, sans-serif;padding: 24px;">&#128222; Bel naar 14050</td>
</tr>
<tr>
<td class="td-mail td__padding-all" colspan="6" style="font-family: Arial, sans-serif;padding: 24px;">
<hr>
</td>
</tr>
<tr>
<td class="td-mail td__padding-all" colspan="6" style="font-family: Arial, sans-serif;padding: 24px;">
<p>Liever geen e-mail notificaties ontvangen? U kunt zich hier uitschrijven</p>
</td>
</tr>
</tbody>
</table>

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,27 @@
</td>
</tr>
<tr>
<td class="td-mail td-mail__bg-info td__padding-all" colspan="6" style="font-family: Arial, sans-serif;background-color: #d5e6f6;padding: 24px;">
<td class="td-mail td-mail__bg-alert td__padding-all" colspan="6" style="font-family: Arial, sans-serif;background-color: #ffdcad;padding: 24px;">
<h1>Update</h1>
</td>
</tr>
<tr>
<td class="td-mail td-mail__bg-info td__padding-all" colspan="3" style="font-family: Arial, sans-serif;background-color: #d5e6f6;padding: 24px;">
<td class="td-mail td-mail__bg-alert td__padding-all" colspan="3" style="font-family: Arial, sans-serif;background-color: #ffdcad;padding: 24px;">
<p><span class="text-color__small-grey-900" style="color: #676767;font-size: 14px;">Aanvraag: </span><br>Bijzondere bijstand aanvragen</p>
</td>
<td class="td-mail td-mail__bg-info td__padding-all" colspan="3" style="font-family: Arial, sans-serif;background-color: #d5e6f6;padding: 24px;">
<td class="td-mail td-mail__bg-alert td__padding-all" colspan="3" style="font-family: Arial, sans-serif;background-color: #ffdcad;padding: 24px;">
<p><span class="text-color__small-grey-900" style="color: #676767;font-size: 14px;">Zaaknummer: </span><br>4500-2023-1010</p>
</td>
</tr>
<tr>
<td class="td-mail td-mail__bg-info td__padding-all" colspan="6" style="font-family: Arial, sans-serif;background-color: #d5e6f6;padding: 24px;">
<td class="td-mail td-mail__bg-alert td__padding-all" colspan="6" style="font-family: Arial, sans-serif;background-color: #ffdcad;padding: 24px;">
<div>
<!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="http://example.com" style="height:36px;v-text-anchor:middle;width:150px;" arcsize="5%" strokecolor="#ffffff" fillcolor="#ffffff">
<w:anchorlock/>
<span style="color:#2566A7;font-family:Helvetica, Arial,sans-serif;font-size:16px;">Upload documenten &rarr;</span>
</v:roundrect>
<![endif]-->
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="http://example.com" style="height:36px;v-text-anchor:middle;width:150px;" arcsize="5%" strokecolor="#ffffff" fillcolor="#ffffff">
<w:anchorlock/>
<span style="color:#2566A7;font-family:Helvetica, Arial,sans-serif;font-size:16px;">Upload documenten &rarr;</span>
</v:roundrect>
<![endif]-->
<a href="http://example.com" style="background-color:#ffffff;border:1px solid #ffffff;border-radius:3px;color:#2566A7;display:inline-block;font-family:sans-serif;font-size:16px;line-height:44px;text-decoration:none;width:100%;-webkit-text-size-adjust:none;mso-hide:all;">
<p><strong>&#9432; De status is gewijzigd van Aanvraag ontvangen naar Aanvraag in behandeling.</p>
</a>
Expand All @@ -44,11 +44,11 @@ <h1>Update</h1>
<td class="td-mail td-mail__bg-alert td__padding-all" colspan="6" style="font-family: Arial, sans-serif;background-color: #ffdcad;padding: 24px;">
<div>
<!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="http://example.com" style="height:36px;v-text-anchor:middle;width:150px;" arcsize="5%" strokecolor="#ffffff" fillcolor="#ffffff">
<w:anchorlock/>
<span style="color:#704000;font-family:Helvetica, Arial,sans-serif;font-size:16px;">Upload documenten &rarr;</span>
</v:roundrect>
<![endif]-->
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="http://example.com" style="height:36px;v-text-anchor:middle;width:150px;" arcsize="5%" strokecolor="#ffffff" fillcolor="#ffffff">
<w:anchorlock/>
<span style="color:#704000;font-family:Helvetica, Arial,sans-serif;font-size:16px;">Upload documenten &rarr;</span>
</v:roundrect>
<![endif]-->
<a href="http://example.com" style="background-color:#ffffff;border:1px solid #ffffff;border-radius:3px;color:#704000;display:inline-block;font-family:sans-serif;font-size:16px;line-height:44px;text-decoration:none;width:100%;-webkit-text-size-adjust:none;mso-hide:all;">
<p><strong>&#9888; Wij hebben documenten van u nodig</strong><br>
Upload de documenten tot {{ datum }} 2024</p>
Expand All @@ -60,21 +60,15 @@ <h1>Update</h1>
<td class="td-mail td-mail__bg-alert td__padding-all" colspan="6" style="font-family: Arial, sans-serif;background-color: #ffdcad;padding: 24px;">
<div>
<!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="http://example.com" style="height:36px;v-text-anchor:middle;width:150px;" arcsize="5%" strokecolor="#0065BD" fillcolor="#0065BD">
<w:anchorlock/>
<center style="color:#ffffff;font-family:Helvetica, Arial,sans-serif;font-size:16px;">Upload documenten &rarr;</center>
</v:roundrect>
<![endif]-->
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="http://example.com" style="height:36px;v-text-anchor:middle;width:150px;" arcsize="5%" strokecolor="#0065BD" fillcolor="#0065BD">
<w:anchorlock/>
<center style="color:#ffffff;font-family:Helvetica, Arial,sans-serif;font-size:16px;">Upload documenten &rarr;</center>
</v:roundrect>
<![endif]-->
<a href="http://example.com" style="background-color:#0065BD;border:1px solid #0065BD;border-radius:3px;color:#ffffff;display:inline-block;font-family:sans-serif;font-size:16px;line-height:44px;text-align:center;text-decoration:none;width:100%;-webkit-text-size-adjust:none;mso-hide:all;">Upload documenten &rarr;</a>
</div>
</td>
</tr>
<tr>
<td class="td-mail td-mail__bg-info td__padding-all" colspan="6" style="font-family: Arial, sans-serif;background-color: #d5e6f6;padding: 24px;">
<p>U hoeft niets te doen. Zodra er weer een update beschikbaar is ontvangt u hier een melding over.</p>
<p><a href="#" class="color--primary" style="color: #0065bd;">Bekijk aanvraag &rarr;</a></p>
</td>
</tr>
<tr>
<td class="td-mail td__padding-all" style="font-family: Arial, sans-serif;padding: 24px;" colspan="6">
<p>Met vriendelijke groet,</p>
Expand Down

0 comments on commit 6698209

Please sign in to comment.