playing now

This commit is contained in:
bkfox 2020-05-29 17:43:30 +02:00
parent 6458416370
commit 8687898b6f

View File

@ -13,8 +13,11 @@ Context variables:
{% block title %} {% block title %}
{% if not object.is_published and object.program.is_published %} {% if not object.is_published and object.program.is_published %}
<a href="{{ object.program.get_absolute_url }}"> <a href="{{ object.program.get_absolute_url }}">
{% if diffusion and diffusion.is_now %}
<span class="fa fa-play"
title="{% trans "on air" %}" aria-label="{% trans "on air" %}"></span>
{% endif %}
{{ object.title }} {{ object.title }}
{% if diffusion and diffusion.is_now %}<span class="has-text-danger fa fa-play-circle"></span>{% endif %}
</a> </a>
{% else %} {% else %}
{{ block.super }} {{ block.super }}