mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Refactor e-mail templates
This commit is contained in:
parent
8e479401a4
commit
60695cd82b
@ -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 },
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user