diff --git a/templates/web/email-template.html.twig b/templates/web/email-template.html.twig
index 2214197196..6bc7c3889a 100644
--- a/templates/web/email-template.html.twig
+++ b/templates/web/email-template.html.twig
@@ -15,7 +15,7 @@
|
- {% if logoUrl is defined %}
+ {% if logoUrl is not none %}
{% else %}
{{ logoText }}
@@ -40,7 +40,7 @@
|
- {% if senderName is defined and senderMail is defined %}
+ {% if senderName is not none and senderMail is not none %}
{{ senderName }} -
{{ senderMail }}
{% endif %}
@@ -53,14 +53,14 @@
|
- {% if expirationMessage is defined %}
+ {% if expiration is not none %}
- Le lien suivant est valable jusque {{ expirationMessage | app['date-formater']->getDate() }} {{ expirationMessage | app['date-formater']->getTime() }}
+ Le lien suivant est valable jusque {{ app['date-formatter'].getDate(expiration) }} {{ app['date-formatter'].getTime(expiration) }}
|
{% endif %}
- {% if buttonText is defined and buttonUrl is defined %}
+ {% if buttonText is not none and buttonUrl is not none %}
@@ -100,7 +100,7 @@
Si cet email contient des liens non cliquables, copiez/collez ces liens dans votre navigateur.
Message automatique de Phraseanet - Pour gérer l'envoi d'email automatique, connectez-vous à
- {{ phraseanetURL }}
+ {{ phraseanetTitle }}
|