{% load i18n aircox %} {% comment %} Context objects: - object: object to render - hide_schedule: if true, hide the schedule {% endcomment %} {% if object|is_diffusion %} {% with object as diffusion %} {% with diffusion.episode as object %} {% include "aircox/episode_item.html" %} {% endwith %} {% endwith %} {% else %} {% with object.track as track %} {{ track.title }} — {{ track.artist }} {% if track.info %}({{ track.info }}){% endif %} {% endwith %} {% endif %}