vendee: mail logo in footer, added emails:logo slot (#67817)
This commit is contained in:
parent
2075b00ac6
commit
650eed2dd4
|
@ -1,13 +1,15 @@
|
|||
{
|
||||
"label": "Vendée (CD85)",
|
||||
"variables": {
|
||||
"theme_color": "#ED1B24"
|
||||
"theme_color": "#ED1B24",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
"COMBO_ASSET_SLOTS.update": {
|
||||
"header:background": { "label": "Têtière : fond" },
|
||||
"header:logo": { "label": "Têtière : logo" }
|
||||
"header:logo": { "label": "Têtière : logo" },
|
||||
"emails:logo": {"label": "Emails : logo"}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
{% extends "emails/footer.html" %}
|
||||
|
||||
{% block footer %}
|
||||
{% if email_header_asset %}
|
||||
<img style="max-width: {% firstof email_header_width "80%" %}"
|
||||
alt="{% firstof global_title "Compte Citoyen" %}"
|
||||
src="{{portal_url}}assets/emails:logo"/>
|
||||
{% endif %}
|
||||
{% if email_signature %}
|
||||
{{ email_signature|linebreaks }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
|
@ -0,0 +1,10 @@
|
|||
<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;">
|
||||
<tr>
|
||||
<td style="padding: 20px 0; text-align: center; font-family: sans-serif;">
|
||||
<span style="font-size: 15px; line-height: 20px;">
|
||||
{% firstof global_title "Compte Citoyen" %}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
Loading…
Reference in New Issue