summaryrefslogtreecommitdiff
path: root/program/templates/v2/show_list.html
blob: 0cee3ef05ee537477be85329b6dc909b1e10a78b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<html>
<head>
    <title>Sendungen &mdash; Radio Helsinki - Freies Radio Graz</title>
</head>
<body>

<div id="content-main" class="show-list">
    <h1>Sendungen A-Z</h1>

    <div id="shows">
{% for show in show_list %}
        <div class="show bf-{{ show.broadcastformat.slug }}">
            <div class="show-categories">
{% for si in show.showinformation.all %}
                <span title="{{ si.information }}" class="category category-si si-{{ si.abbrev }}"><span>{{ si.abbrev }}</span></span>
{% endfor %}
{% for st in show.showtopic.all %}
                <span title="{{ st.topic }}" class="category category-st st-{{ st.abbrev }}"><span>{{ st.abbrev }}</span></span>
{% endfor %}
{% for mf in show.musicfocus.all %}
                <span title="{{ mf.focus }}" class="category category-mf mf-{{ mf.abbrev }}"><span>{{ mf.abbrev }}</span></span>
{% endfor %}
{% for lang in show.language.all %}
                <span title="{{ lang.name }}/{{ lang.native_name }}" class="category category-lang lang-{{ lang.slug }}"><span>{{ lang.slug }}</span></span>
{% endfor %}
            </div>
            <div class="show-detail">
                <h3 class="show-title"><a href="/program/shows/{{ show.slug }}">{{ show.name }}</a></h3>
                <ul class="show-programslots">
{% for programslot in show.active_program_slots %}
                    <li class="show-programslot">{{ programslot }}</li>
{% endfor %}
                </ul>
                <p class="show-description">{{ show.short_description }}</p>
{%   if show.image %}
                <img class="show-image" src="https://images.helsinki.at/program/{{ show.image }}">
{%   endif %}
            </div>
        </div>
{% endfor %}
    </div>
</div>

</body>
</html>