From 90e1a949623ead173c0952f802d7b5c5487251b1 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Fri, 5 Oct 2018 15:35:14 +0200 Subject: Make application name configurable * Added app_name configuration option * Extended `EngelsystemMailer` to prepend the application name to all mails Closes #426 --- resources/views/emails/mail.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/views/emails') diff --git a/resources/views/emails/mail.twig b/resources/views/emails/mail.twig index f5ac5860..c99fc104 100644 --- a/resources/views/emails/mail.twig +++ b/resources/views/emails/mail.twig @@ -1,6 +1,6 @@ {{ __('Hi %s,', [user]) }} -{{ __('here is a message for you from the engelsystem:') }} +{{ __('here is a message for you from the %s:', [config('app_name')]) }} {{ message|raw }} -{{ __('This email is autogenerated and has not been signed. You got this email because you are registered in the engelsystem.') }} +{{ __('This email is autogenerated and has not been signed. You got this email because you are registered in the %s.', [config('app_name')]) }} -- cgit v1.2.3-54-g00ecf