templates: skip email prefix if it's defined as a single dot (#43065)

This commit is contained in:
Frédéric Péters 2020-05-19 10:18:49 +02:00
parent b0ae54aa77
commit 4ba7bac3a1
1 changed files with 1 additions and 1 deletions

View File

@ -1 +1 @@
{% block subject-prefix %}{% autoescape off %}{% firstof global_email_prefix global_title site_name site "Compte Citoyen" %}{% endautoescape %} : {% endblock %}{% block email-subject %}{% endblock %}
{% block subject-prefix %}{% autoescape off %}{% if global_email_prefix != "." %}{% firstof global_email_prefix global_title site_name site "Compte Citoyen" %}{% endautoescape %} : {% endblock %}{% block email-subject %}{% endif %}{% endblock %}