forked from rc/aircox
		
	
		
			
				
	
	
		
			63 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% extends "aircox/program_base.html" %}
 | 
						|
{% load i18n %}
 | 
						|
 | 
						|
{% block header %}
 | 
						|
{{ block.super }}
 | 
						|
 | 
						|
<section class="is-size-5 has-text-weight-bold">
 | 
						|
    {% for diffusion in object.diffusion_set.all %}
 | 
						|
        {% with diffusion.start as start %}
 | 
						|
        {% with diffusion.end as end %}
 | 
						|
        <time datetime="{{ start }}">{{ start|date:"D. d F Y, H:i" }}</time>
 | 
						|
        —
 | 
						|
        <time datetime="{{ end }}">{{ end|date:"H:i" }}</time>
 | 
						|
        {% endwith %}
 | 
						|
        {% endwith %}
 | 
						|
 | 
						|
        <small>
 | 
						|
            {% if diffusion.initial %}
 | 
						|
            {% with diffusion.initial.date as date %}
 | 
						|
            <span title="{% blocktrans %}Rerun of {{ date }}{% endblocktrans %}">
 | 
						|
                ({% trans "rerun" %})
 | 
						|
            </span>
 | 
						|
            {% endwith %}
 | 
						|
            {% endif %}
 | 
						|
        </small>
 | 
						|
        <br>
 | 
						|
    {% endfor %}
 | 
						|
</section>
 | 
						|
{% endblock %}
 | 
						|
 | 
						|
{% block main %}
 | 
						|
{{ block.super }}
 | 
						|
 | 
						|
{% if podcasts or tracks %}
 | 
						|
<div class="columns is-desktop">
 | 
						|
    {% if tracks %}
 | 
						|
    <section class="column">
 | 
						|
        <h4 class="title is-4">{% trans "Playlist" %}</h4>
 | 
						|
        <ol>
 | 
						|
            {% for track in tracks %}
 | 
						|
            <li><span>{{ track.title }}</span>
 | 
						|
                <span class="has-text-grey-dark has-text-weight-light">
 | 
						|
                — {{ track.artist }}
 | 
						|
                {% if track.info %}(<i>{{ track.info }}</i>){% endif %}
 | 
						|
                </span>
 | 
						|
            </li>
 | 
						|
            {% endfor %}
 | 
						|
        </ol>
 | 
						|
    </section>
 | 
						|
    {% endif %}
 | 
						|
    {% if podcasts %}
 | 
						|
    <section class="column">
 | 
						|
        <h4 class="title is-4">{% trans "Podcasts" %}</h4>
 | 
						|
        {% for object in podcasts %}
 | 
						|
        {% include "aircox/podcast_item.html" %}
 | 
						|
        {% endfor %}
 | 
						|
    </section>
 | 
						|
    {% endif %}
 | 
						|
</div>
 | 
						|
{% endif %}
 | 
						|
{% endblock %}
 | 
						|
 |