{% load i18n %}
{% if el.name == "supervision" %}
{% trans "Supervision" %}
{% elif not el.amends.subject and not el.subject %}
{% if el.amends.title %}
{{ el.amends.title }}
{% endif %}
{% if el.title %}
{{ el.title }}
{% endif %}
{% elif el.cancelled %}
{% include "chronos/partials/subject.html" with subject=el.amends.subject %}
{% elif el.subject and el.amends.subject %}
{% include "chronos/partials/subject.html" with subject=el.amends.subject %}
→
{% include "chronos/partials/subject.html" with subject=el.subject %}
{% elif el.subject and not el.amends.subject %}
{% include "chronos/partials/subject.html" with subject=el.subject %}
{% else %}
{% include "chronos/partials/subject.html" with subject=el.amends.subject %}
{% endif %}