engelsystem/resources/views/emails/worklog-from-shift.twig

17 lines
447 B
Twig
Raw Permalink Normal View History

{% extends "emails/mail.twig" %}
{% block introduction %}
{{ __('notification.shift.deleted.introduction') }}
{% endblock %}
{% block message %}
{{ shift.shiftType.name }}
{{ shift.title }}
{{ shift.start.format(__('general.datetime')) }} - {{ shift.end.format(__('general.datetime')) }}
{{ shift.location.name }}
{% if shift.start <= date() and not entry.freeloaded %}
{{ __('notification.shift.deleted.worklog') }}
{% endif %}
{% endblock %}