diff --git a/resources/views/emails/angeltype-added.twig b/resources/views/emails/angeltype-added.twig index a66a4eb3..b1c06157 100644 --- a/resources/views/emails/angeltype-added.twig +++ b/resources/views/emails/angeltype-added.twig @@ -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 %} diff --git a/resources/views/emails/mail.twig b/resources/views/emails/mail.twig index e008620c..f84d9f96 100644 --- a/resources/views/emails/mail.twig +++ b/resources/views/emails/mail.twig @@ -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 %}