Commit 945ebd88 by Yvon

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

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