Commit a7f56c89 by Yvon

it -> if and twig syntax fix

parent 945ebd88
...@@ -5,19 +5,18 @@ ...@@ -5,19 +5,18 @@
{%- endautoescape -%} {%- endautoescape -%}
{% endblock %} {% endblock %}
{% it tav_env %} {% block body_text %}
{% block body_text %} {% if not tav_env %}
{% endblock %}
{% block body_html %}
{% autoescape false %} {% 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 %} {% endautoescape %}
{% endblock %} {% endif %}
{% else %} {% endblock %}
{% block body_text %}
{% block body_html %}
{% if tav_env %}
{% autoescape false %} {% 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 %} {% endautoescape %}
{% endblock %}
{% block body_html %}{% endblock %}
{% endif %} {% 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