{% comment %} Context: - object: diffusion {% endcomment %} {% load i18n %} {% if object.type == object.TYPE_ON_AIR %} {% if object.is_live %} {% else %} {% endif %}   {{ object.get_type_display }} {% elif object.type == object.TYPE_CANCEL %} {{ object.get_type_display }} {% elif object.type == object.TYPE_UNCONFIRMED %} {{ object.get_type_display }} {% endif %}