Commit 945ebd88 by Yvon

reset password : clickable link with html in twig without translation for tav

parent c9270a70
......@@ -5,9 +5,19 @@
{%- endautoescape -%}
{% endblock %}
{% block body_text %}
{% autoescape false %}
{{ 'resetting.email.message'|trans({'%username%': user.username, '%confirmationUrl%': confirmationUrl}) }}
{% endautoescape %}
{% endblock %}
{% block body_html %}{% endblock %}
{% it tav_env %}
{% block body_text %}
{% endblock %}
{% block body_html %}
{% 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' }}
{% endautoescape %}
{% endblock %}
{% else %}
{% block body_text %}
{% autoescape false %}
{{ 'resetting.email.message'|trans({'%username%': user.username, '%confirmationUrl%': confirmationUrl}) }}
{% endautoescape %}
{% endblock %}
{% block body_html %}{% endblock %}
{% endif %}
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