Add event name and day of event to mail footer (#1214)

This commit is contained in:
xuwhite 2023-09-24 15:10:10 +02:00 committed by GitHub
parent 40b93e3d8b
commit 3b241529b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -5,4 +5,10 @@
{% block message %}{{ message|raw }}{% endblock %}
{{ '-- ' }}
{% block footer %}{{ __('This email is autogenerated and has not been signed. You got this email because you are registered in the %s.', [config('app_name')]) }}{% endblock %}
{% block footer %}
{{config('name')}}
{%- if config('enable_show_day_of_event') and day_of_event is defined %}
, {{ __('event.day', [day_of_event]) }}
{% endif %}
{{ __('This email is autogenerated and has not been signed. You got this email because you are registered in the %s.', [config('app_name')]) }}
{% endblock %}