-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⚗️ [#2059] Added static mail templates
- Loading branch information
1 parent
69b958d
commit 6698209
Showing
3 changed files
with
100 additions
and
176 deletions.
There are no files selected for viewing
156 changes: 81 additions & 75 deletions
156
src/open_inwoner/templates/pages/cases/mail-templates/case_document_notification.html
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 |
---|---|---|
@@ -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;"> </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 éé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 →</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>ⓘ 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 →</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> </p> | ||
<p>Gemeente Groningen</p> | ||
<p> </p> | ||
<p> </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;">📞 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> |
76 changes: 0 additions & 76 deletions
76
src/open_inwoner/templates/pages/cases/mail-templates/case_status_notification.html
This file was deleted.
Oops, something went wrong.
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