playing now
This commit is contained in:
parent
d776639579
commit
89db9314ed
|
@ -10,13 +10,11 @@ Context variables:
|
||||||
|
|
||||||
{% load i18n easy_thumbnails_tags aircox %}
|
{% load i18n easy_thumbnails_tags aircox %}
|
||||||
|
|
||||||
|
{% if diffusion and diffusion.is_now %}{% block css %}is-primary{% endblock %}{% endif %}
|
||||||
|
|
||||||
{% 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 %}
|
|
||||||
<small class="fas fa-play"
|
|
||||||
title="{% trans "on air" %}" aria-label="{% trans "on air" %}"></small>
|
|
||||||
{% endif %}
|
|
||||||
{{ object.title }}
|
{{ object.title }}
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
|
@ -26,7 +26,7 @@ Context variables:
|
||||||
|
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<article class="media item {% if is_primary %}is-primary{% endif %}">
|
<article class="media item {% block css %}{% endblock%}">
|
||||||
{% if has_cover|default_if_none:True %}
|
{% if has_cover|default_if_none:True %}
|
||||||
<div class="media-left">
|
<div class="media-left">
|
||||||
<img src="{% thumbnail object.cover|default:station.default_cover 128x128 crop=scale %}"
|
<img src="{% thumbnail object.cover|default:station.default_cover 128x128 crop=scale %}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user