{% load i18n aircox %} {% comment %} Context objects: - object: object to render - hide_schedule: if true, hide the schedule In case of modification, you might want to check on `assets/vue/player.vue` for design review. {% 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 %}