{% trans_default_domain 'email' %} {% set currentLocale = null %} {% if locale is defined %} {% set currentLocale = locale %} {% elseif app.request %} {% set currentLocale = app.request.locale %} {% endif %} {% set host = null %} {% if schemeAndHttpHost is defined %} {% set host = schemeAndHttpHost %} {% elseif app.request %} {% set host = app.request.getSchemeAndHttpHost() %} {% endif %} {% set website = website is defined ? website : website() %} {% set logos = website|logos(currentLocale) %} {# {% set logo = logos.logo is defined ? asset(logos.logo) : asset('build/vendor/images/felix-logo.svg', 'vendor') %}#} {% set logo = asset('build/admin/images/theme/logo-ec.svg', 'admin') %} {% set information = website ? website.information : null %} {% set infos = currentLocale ? information|info(currentLocale) : null %} {% set companyName = information.title is defined and information.title ? information.title : null %} {% set emails = infos.emails.email is defined and infos.emails.email|length > 0 ? infos.emails.email : [] %} {% set phones = infos.phones.email is defined and infos.phones.email|length > 0 ? infos.phones.email : [] %} {% set addresses = infos.addresses.email is defined and infos.addresses.email|length > 0 ? infos.addresses.email : [] %} {% block metaTitle %}{{ "Nouveau message site Internet"|trans({}, 'email', currentLocale)|raw }}{% endblock %} {% block stylesheets %} {% include 'core/email/style.html.twig' %} {% endblock %} {% if logo and host %} {% endif %}
Logo

{% block title %}{% endblock %}

{% block body %}{% endblock %}

{% block info %}{% endblock %}

{# {% if addresses %}#} {#

#} {# {% for address in addresses %}#} {# {% if address.name %}{{ address.name }}{% endif %}#} {# {% if address.address %}{{ address.address }}{% endif %}#} {# {% if address.zipCode %}{{ address.zipCode }}{% endif %}#} {# {% if address.city %} - {% endif %}#} {# {% if address.city %}{{ address.city }}{% endif %}#} {# {% if address.department %} - {% endif %}#} {# {% if address.department %}{{ address.department }}{% endif %}#} {# {% if address.region %} - {% endif %}#} {# {% if address.region %}{{ address.region }}{% endif %}#} {# {% if address.country %} - {% endif %}#} {# {% if address.country %}{{ address.country|countryName }}{% endif %}#} {# {% if not loop.last %}
{% endif %}#} {# {% endfor %}#} {#

#} {# {% endif %}#} {# {% if emails %}#} {#

#} {# {% for email in emails %}#} {# {{ email.email }}#} {# {% if not loop.last %}
{% endif %}#} {# {% endfor %}#} {#

#} {# {% endif %}#} {# {% if phones %}#} {#

#} {# {% for phone in phones %}#} {# {{ phone.number }}#} {# {% if not loop.last %}
{% endif %}#} {# {% endfor %}#} {#

#} {# {% endif %}#}