Avoid broken action URL in text notification mail

Some mail clients make URLs clickable automatically which leads to broken URLs due to the appended ":" (colon)

Fix this by moving the action text before the action URL.
This commit is contained in:
Mathias Brodala 2021-06-18 09:40:49 +02:00 committed by Fabien Potencier
parent 1a2e10137e
commit 6f6e8cf184

View File

@ -8,7 +8,7 @@
{% block action %}
{% if action_url %}
{{ action_url }}: {{ action_text }}
{{ action_text }}: {{ action_url }}
{% endif %}
{% endblock %}