Merge pull request #4350 from Ocelot-Social-Community/4349-refactor-e-mail-templates

refactor: 🍰 Refactor E-Mail Templates
This commit is contained in:
Wolfgang Huß 2021-04-07 09:44:06 +02:00 committed by GitHub
commit 17f20c1f09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 13 deletions

View File

@ -84,7 +84,7 @@ export const wrongAccountTemplate = ({ email }) => {
subject, subject,
html: mustache.render( html: mustache.render(
templates.layout, templates.layout,
{ actionUrl, supportUrl: CONFIG.SUPPORT_URL, welcomeImageUrl }, { ...defaultParams, actionUrl, supportUrl: CONFIG.SUPPORT_URL, welcomeImageUrl },
{ content: templates.wrongAccount }, { content: templates.wrongAccount },
), ),
} }

View File

@ -7,8 +7,8 @@
<td style="background-color: #ffffff;"> <td style="background-color: #ffffff;">
<img <img
src="{{{ welcomeImageUrl }}}" src="{{{ welcomeImageUrl }}}"
width="600" height="" alt="Welcome image" border="0" width="300" height="" alt="Welcome image" border="0"
style="width: 100%; max-width: 600px; height: auto; background: #ffffff; font-family: Lato, sans-serif; font-size: 16px; line-height: 15px; color: #555555; margin: auto; display: block;" style="width: 100%; max-width: 300px; height: auto; background: #ffffff; font-family: Lato, sans-serif; font-size: 16px; line-height: 15px; color: #555555; margin: auto; display: block; padding: 20px;"
class="g-img"> class="g-img">
</td> </td>
</tr> </tr>
@ -105,8 +105,8 @@
<td style="background-color: #ffffff;"> <td style="background-color: #ffffff;">
<img <img
src="{{{ welcomeImageUrl }}}" src="{{{ welcomeImageUrl }}}"
width="600" height="" alt="Welcome image" border="0" width="300" height="" alt="Welcome image" border="0"
style="width: 100%; max-width: 600px; height: auto; background: #ffffff; font-family: Lato, sans-serif; font-size: 16px; line-height: 15px; color: #555555; margin: auto; display: block;" style="width: 100%; max-width: 300px; height: auto; background: #ffffff; font-family: Lato, sans-serif; font-size: 16px; line-height: 15px; color: #555555; margin: auto; display: block; padding: 20px;"
class="g-img"> class="g-img">
</td> </td>
</tr> </tr>

View File

@ -7,8 +7,8 @@
<td style="background-color: #ffffff;"> <td style="background-color: #ffffff;">
<img <img
src="{{{ welcomeImageUrl }}}" src="{{{ welcomeImageUrl }}}"
width="600" height="" alt="Welcome image" border="0" width="300" height="" alt="Welcome image" border="0"
style="width: 100%; max-width: 600px; height: auto; background: #ffffff; font-family: Lato, sans-serif; font-size: 16px; line-height: 15px; color: #555555; margin: auto; display: block;" style="width: 100%; max-width: 300px; height: auto; background: #ffffff; font-family: Lato, sans-serif; font-size: 16px; line-height: 15px; color: #555555; margin: auto; display: block; padding: 20px;"
class="g-img"> class="g-img">
</td> </td>
</tr> </tr>
@ -105,8 +105,8 @@
<td style="background-color: #ffffff;"> <td style="background-color: #ffffff;">
<img <img
src="{{{ welcomeImageUrl }}}" src="{{{ welcomeImageUrl }}}"
width="600" height="" alt="Welcome image" border="0" width="300" height="" alt="Welcome image" border="0"
style="width: 100%; max-width: 600px; height: auto; background: #ffffff; font-family: Lato, sans-serif; font-size: 16px; line-height: 15px; color: #555555; margin: auto; display: block;" style="width: 100%; max-width: 300px; height: auto; background: #ffffff; font-family: Lato, sans-serif; font-size: 16px; line-height: 15px; color: #555555; margin: auto; display: block; padding: 20px;"
class="g-img"> class="g-img">
</td> </td>
</tr> </tr>

View File

@ -7,8 +7,8 @@
<td style="background-color: #ffffff;"> <td style="background-color: #ffffff;">
<img <img
src="{{{ welcomeImageUrl }}}" src="{{{ welcomeImageUrl }}}"
width="600" height="" alt="Welcome image" border="0" width="300" height="" alt="Welcome image" border="0"
style="width: 100%; max-width: 600px; height: auto; background: #ffffff; font-family: Lato, sans-serif; font-size: 16px; line-height: 15px; color: #555555; margin: auto; display: block;" style="width: 100%; max-width: 300px; height: auto; background: #ffffff; font-family: Lato, sans-serif; font-size: 16px; line-height: 15px; color: #555555; margin: auto; display: block; padding: 20px;"
class="g-img"> class="g-img">
</td> </td>
</tr> </tr>
@ -105,8 +105,8 @@
<td style="background-color: #ffffff;"> <td style="background-color: #ffffff;">
<img <img
src="{{{ welcomeImageUrl }}}" src="{{{ welcomeImageUrl }}}"
width="600" height="" alt="Welcome image" border="0" width="300" height="" alt="Welcome image" border="0"
style="width: 100%; max-width: 600px; height: auto; background: #ffffff; font-family: Lato, sans-serif; font-size: 16px; line-height: 15px; color: #555555; margin: auto; display: block;" style="width: 100%; max-width: 300px; height: auto; background: #ffffff; font-family: Lato, sans-serif; font-size: 16px; line-height: 15px; color: #555555; margin: auto; display: block; padding: 20px;"
class="g-img"> class="g-img">
</td> </td>
</tr> </tr>