isere-cd38: customize email header template (#49525)
This commit is contained in:
parent
e8512b94a8
commit
cd39c98960
|
@ -3,14 +3,15 @@
|
|||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#FECE15",
|
||||
"email_header_asset": "emails:logo"
|
||||
"email_header_asset2": "emails:logo2"
|
||||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
"COMBO_ASSET_SLOTS.update": {
|
||||
"header:logo": {"label": "Têtière : logo" },
|
||||
"footer:logo": {"label": "Pied de page : logo"},
|
||||
"emails:logo": {"label": "Emails : logo"}
|
||||
"emails:logo": {"label": "Emails : logo"},
|
||||
"emails:logo2": {"label": "Emails : logo 2"}
|
||||
},
|
||||
"COMBO_CELL_ASSET_SLOTS.update": {
|
||||
"wcs_wcsformcell": {
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;">
|
||||
<tr>
|
||||
<td style="padding: 20px 0 {% if email_header_img or email_header_asset %}5px 0{% endif %}; text-align: left; font-family: sans-serif;">
|
||||
<span style="font-size: 15px; line-height: 20px;">
|
||||
{% if email_header_img or email_header_asset %}<img style="max-width: {% firstof email_header_width "80%" %}" alt="{% firstof global_title "Compte Citoyen" %}" src="{{portal_url}}{% if email_header_img %}static/{{css_variant}}/{{ email_header_img }}{% else %}assets/emails:logo{% endif %}"/>
|
||||
{% else %}
|
||||
{% firstof global_title "Compte Citoyen" %}
|
||||
{% endif %}
|
||||
</span>
|
||||
</td>
|
||||
{% if email_header_asset2 %}
|
||||
<td style="padding: 20px 0; text-align: right; font-family: sans-serif;">
|
||||
<img src="{{portal_url}}assets/emails:logo2"/>
|
||||
</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
</table>
|
Loading…
Reference in New Issue