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}) %}
{% block introduction %}
{{ __('notification.angeltype.added.introduction', [angeltype.name|e, url])|raw }}
{% endblock %}

View File

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