playing now

This commit is contained in:
bkfox 2020-05-29 18:01:09 +02:00
parent f9a79795e5
commit f7f0065757
2 changed files with 1 additions and 3 deletions

View File

@ -10,8 +10,6 @@ Context variables:
{% load i18n easy_thumbnails_tags aircox %}
{% if diffusion and diffusion.is_now %}{% block css %}has-background-primary{% endblock %}{% endif %}
{% block title %}
{% if not object.is_published and object.program.is_published %}
<a href="{{ object.program.get_absolute_url }}">

View File

@ -9,7 +9,7 @@ Context:
{% with True as hide_schedule %}
<table class="table is-striped is-hoverable is-fullwidth" role="list">
{% for object in object_list %}
<tr {% if object.is_now %}class="is-primary"{% endif %}>
<tr {% if object|is_diffusion and object.is_now %}class="is-primary"{% endif %}>
<td>
{% if object|is_diffusion %}
<time datetime="{{ object.start }}" title="{{ object.start }}">