playing now
This commit is contained in:
		@ -10,13 +10,11 @@ Context variables:
 | 
			
		||||
 | 
			
		||||
{% load i18n easy_thumbnails_tags aircox %}
 | 
			
		||||
 | 
			
		||||
{% if diffusion and diffusion.is_now %}{% block css %}is-primary{% endblock %}{% endif %}
 | 
			
		||||
 | 
			
		||||
{% block title %}
 | 
			
		||||
{% if not object.is_published and object.program.is_published %}
 | 
			
		||||
<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 }}
 | 
			
		||||
</a>
 | 
			
		||||
{% else %}
 | 
			
		||||
 | 
			
		||||
@ -26,7 +26,7 @@ Context variables:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{% 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 %}
 | 
			
		||||
    <div class="media-left">
 | 
			
		||||
        <img src="{% thumbnail object.cover|default:station.default_cover 128x128 crop=scale %}"
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user