summaryrefslogtreecommitdiff
path: root/program/templates/show_list.html
blob: 136930dc2cf7d2766ec2c1eb61f63a60ce800a8a (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
46
47
48
49
50
51
52
53
54
55
56
57
58
<html>
<head>
    <title>Sendungen &mdash; Radio Helsinki - Freies Radio Graz</title>
</head>
<body>

{% load content_boxes %}
<div id="filter-format">
    {% broadcastformat %}
</div>
<div id="filter-topic">
    <dl id="filter-header" class="portlet">
        <dt class="portletHeader"><span>Filter<span></dt>
    </dl>
    {% musicfocus %}
    {% showinformation %}
    {% showtopic %}
</div>

<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-abbrevs">
                    {% for item in show.showinformation.all %}
                        <span title="{{ item.information }}"
                              class="abbrev si-{{ item.abbrev }}"><span>{{ item.abbrev }}</span></span>
                    {% endfor %}
                    {% for item in show.showtopic.all %}
                        <span title="{{ item.topic }}"
                              class="abbrev st-{{ item.abbrev }}"><span>{{ item.abbrev }}</span></span>
                    {% endfor %}
                    {% for item in show.musicfocus.all %}
                        <span title="{{ item.focus }}"
                              class="abbrev mf-{{ item.abbrev }}"><span>{{ item.abbrev }}</span></span>
                    {% endfor %}
                </div>
                <div class="show-detail">
                    <h3 class="show-title"><a href="{% url "show-detail" show.slug %}">{{ show.name }}</a></h3>
                    <ul class="show-programslots">
                        {% for slot in show.programslots.all %}
                            {% if slot.has_active_timeslot %}
                                <li class="show-programslot">{{ slot }}</li>
                            {% endif %}
                        {% endfor %}
                    </ul>
                    <p class="show-description">{{ show.short_description }}</p>
                </div>
            </div>
        {% endfor %}
    </div>

</div>

</body>
</html>