Commit a7f56c89 by Yvon

it -> if and twig syntax fix

parent 945ebd88
......@@ -5,19 +5,18 @@
{%- endautoescape -%}
{% endblock %}
{% it tav_env %}
{% block body_text %}
{% endblock %}
{% block body_html %}
{% block body_text %}
{% if not tav_env %}
{% autoescape false %}
{{ 'Bonjour ' ~ user.username ~ ' !<br/><br/>Pour réinitialiser votre mot de passe, merci de <a href=' ~ confirmationUrl ~ '>cliquer sur ce lien</a>.<br/><br/>Cordialement,\nL\'équipe\n' }}
{{ 'resetting.email.message'|trans({'%username%': user.username, '%confirmationUrl%': confirmationUrl}) }}
{% endautoescape %}
{% endblock %}
{% else %}
{% block body_text %}
{% endif %}
{% endblock %}
{% block body_html %}
{% if tav_env %}
{% autoescape false %}
{{ 'resetting.email.message'|trans({'%username%': user.username, '%confirmationUrl%': confirmationUrl}) }}
{{ 'Bonjour ' ~ user.username ~ ' !<br/><br/>Pour réinitialiser votre mot de passe, merci de <a href=' ~ confirmationUrl ~ '>cliquer sur ce lien</a>.<br/><br/>Cordialement,\nL\'équipe\n' }}
{% endautoescape %}
{% endblock %}
{% block body_html %}{% endblock %}
{% endif %}
{% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment