Projet

Général

Profil

0001-emails-sync-site-name-in-header-with-subject-33296.patch

Thomas Noël, 26 mai 2019 23:52

Télécharger (1,35 ko)

Voir les différences:

Subject: [PATCH] emails: sync site name in header with subject (#33296)

 templates/emails/header.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
templates/emails/header.html
2 2
  <tr>
3 3
    <td style="padding: 20px 0 {% if email_header_img %}5px 0{% endif %}; text-align: center; font-family: sans-serif;">
4 4
      <span style="font-size: 15px; line-height: 20px;">
5
        {% if email_header_img %}<img style="max-width: {% firstof email_header_width "80%" %}" alt="{% firstof global_title "Compte Citoyen" %}" src="{{portal_url}}static/{{css_variant}}/{{ email_header_img }}"/>
5
        {% if email_header_img %}<img style="max-width: {% firstof email_header_width "80%" %}" alt="{% firstof global_email_prefix global_title site_name site "Compte Citoyen" %}" src="{{portal_url}}static/{{css_variant}}/{{ email_header_img }}"/>
6 6
        {% else %}
7
        {% firstof global_title "Compte Citoyen" %}
7
        {% firstof global_email_prefix global_title site_name site "Compte Citoyen" %}
8 8
        {% endif %}
9 9
      </span>
10 10
    </td>
11
-