alpes-maritimes-2022: add email asset slots ( #72334)
gitea-wip/publik-base-theme/pipeline/pr-main This commit looks good
Details
gitea-wip/publik-base-theme/pipeline/pr-main This commit looks good
Details
This commit is contained in:
parent
ccb0cf7a72
commit
6555cda986
|
@ -1,16 +1,15 @@
|
|||
{
|
||||
"label": "Alpes-Maritimes (CD06) (2022)",
|
||||
"variables": {
|
||||
"theme_color": "#00A7BD",
|
||||
"email_header_asset": "emails:logo",
|
||||
"email_header_img": "img/logo.png",
|
||||
"email_header_right_img": "img/logo-departement.png"
|
||||
"theme_color": "#00A7BD"
|
||||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
"COMBO_ASSET_SLOTS.update": {
|
||||
"header:logo": { "label": "Têtière : logo" },
|
||||
"logo:feder": { "label": "Logo FEDER"},
|
||||
"email:logo_left": { "label": "Emails : logo gauche"},
|
||||
"email:logo_right": { "label": "Emails : logo droite"},
|
||||
"social:dossiers:autonomie": {
|
||||
"label": "Pictogramme dossier autonomie"
|
||||
},
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<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: left; font-family: sans-serif;">
|
||||
{% if email_header_img %}<img style="max-width: 80%" alt="{% firstof global_title "Compte Citoyen" %}" src="{{portal_url}}static/{{css_variant}}/{{ email_header_img }}"/>{% endif %}
|
||||
{% if email_header_img %}<img style="max-width: 80%" alt="{% firstof global_title "Compte Citoyen" %}" src="{{portal_url}}assets/email:logo_left"/>{% endif %}
|
||||
</td>
|
||||
{% if email_header_right_img %}
|
||||
<td style="padding: 20px 0; text-align: right; font-family: sans-serif;">
|
||||
<img style="max-width: 80%" src="{{portal_url}}static/{{css_variant}}/{{ email_header_right_img }}"/>
|
||||
<img style="max-width: 80%" src="{{portal_url}}assets/email:logo_right"/>
|
||||
</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue