fix email formatting

This commit is contained in:
Xu 2023-12-06 14:39:02 +01:00 committed by Igor Scheller
parent dfd72d2d69
commit 545d2a7ccf
2 changed files with 6 additions and 4 deletions

View File

@ -3,6 +3,7 @@
{% set url=url('/angeltypes', {'action': 'view', 'angeltype_id': angeltype.id}) %} {% set url=url('/angeltypes', {'action': 'view', 'angeltype_id': angeltype.id}) %}
{% block introduction %} {% block introduction %}
{{ __('notification.angeltype.added.introduction', [angeltype.name|e, url])|raw }} {{ __('notification.angeltype.added.introduction', [angeltype.name|e, url])|raw }}
{% endblock %} {% endblock %}

View File

@ -7,8 +7,9 @@
{{ '-- ' }} {{ '-- ' }}
{% block footer %} {% block footer %}
{{ config('name') }} {{ config('name') }}
{%- if config('enable_show_day_of_event') and day_of_event is defined %} {%- if config('enable_show_day_of_event') and day_of_event is defined -%}
, {{ __('event.day', [day_of_event]) }} {% if config('name') %}, {% endif %}{{ __('event.day', [day_of_event]) }}
{% endif %} {%- endif %}
{{ __('email.footer', [config('app_name')]) }} {{ __('email.footer', [config('app_name')]) }}
{% endblock %} {% endblock %}