0001-misc-add-possibility-of-image-in-email-head-25388.patch
templates/emails/header.html | ||
---|---|---|
1 | 1 |
<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;"> |
2 | 2 |
<tr> |
3 | 3 |
<td style="padding: 20px 0; text-align: center; font-family: sans-serif;"> |
4 |
<span style="font-size: 15px; line-height: 20px;">{% firstof global_title "Compte Citoyen" %}</span> |
|
4 |
<span style="font-size: 15px; line-height: 20px;"> |
|
5 |
{% if email_header_img %}<img style="max-width: 80%" alt="{% firstof global_title "Compte Citoyen" %}" src="{{portal_url}}static/{{css_variant}}/{{ email_header_img }}"/> |
|
6 |
{% else %} |
|
7 |
{% firstof global_title "Compte Citoyen" %} |
|
8 |
{% endif %} |
|
9 |
</span> |
|
5 | 10 |
</td> |
6 | 11 |
</tr> |
7 | 12 |
</table> |
templates/variants/orleans/emails/header.html | ||
---|---|---|
1 |
{% load static %} |
|
2 |
<table role="presentation" cellspacing="0" cellpadding="5" border="0" align="center" width="100%" style="max-width: 600px;"> |
|
3 |
<tr> |
|
4 |
<td style="text-align: center;"><img src="{% firstof portal_url site_base %}{% static "" %}{{css_variant}}/images/logo_mairie.jpg" width="200" height="66" alt="Mairie d'Orléans" /></td> |
|
5 |
</tr> |
|
6 |
</table> |
templates/variants/strasbourg-2018/emails/header.html | ||
---|---|---|
1 |
<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;"> |
|
2 |
<tr> |
|
3 |
<td style="padding: 20px 0; text-align: center; font-family: sans-serif;"> |
|
4 |
<span style="font-size: 15px; line-height: 20px;"><img style="max-width: 80%" alt="Strasbourg.eu - eurométropole" src="{{portal_url}}static/{{css_variant}}/img/logo-eurometropole.png"/></span> |
|
5 |
</td> |
|
6 |
</tr> |
|
7 |
</table> |
themes.json | ||
---|---|---|
365 | 365 |
"label": "Orléans", |
366 | 366 |
"variables": { |
367 | 367 |
"css_variant": "orleans", |
368 |
"email_header_img": "images/logo_mairie.jpg", |
|
368 | 369 |
"theme_color": "#34697D" |
369 | 370 |
} |
370 | 371 |
}, |
... | ... | |
508 | 509 |
"label": "Mon Strasbourg", |
509 | 510 |
"variables": { |
510 | 511 |
"css_variant": "strasbourg-2018", |
512 |
"email_header_img": "img/logo-eurometropole.png", |
|
511 | 513 |
"favicon": "strasbourg-2018/img/favicon.png", |
512 | 514 |
"no_extra_js": false, |
513 | 515 |
"theme_color": "#31455D" |
514 |
- |