{% if on_behalf %}Your {{ leave_type|raw }} request was cancelled by {{ actor|raw }}{% if date_start != date_end %}from {{ date_start|raw }} to {{ date_end|raw }}{% else  %}on {{ date_start|raw }}{% endif %}{% if day_part_title %} {{ day_part_title }}{% endif %}{% else %}{{ actor|raw }} cancelled their {{ leave_type|raw }} request{% if date_start != date_end %} from {{ date_start|raw }} to {{ date_end|raw }}{% else  %}on {{ date_start|raw }}{% endif %}{% if day_part_title %} {{ day_part_title }}{% endif %}{% endif %}

<a href="{{ user_link|raw }}">{{ actor }}</a> cancelled {% if on_behalf %}your{% else %}their{% endif %} {{ leave_type|raw }} request:

Leave type: {{ leave_type }}
Date: {{ date_start }}{% if date_start != date_end %} - {{ date_end|raw }}{% endif %}
Duration: {{ days|raw }} day(s){% if day_part %}, {{ day_part }}{% endif %}{% if show_calendar_days %}({{ calendar_days|raw }} calendar days){% endif %}
{% if comment_text_is_empty %}{% else %}<br />Comment: {{ comment_text|raw }}{% endif %}

{% if needs_approval %}<a href="{{ link|raw }}">View this request</a>{% endif %}
