summaryrefslogtreecommitdiff
path: root/templates/program/recommendations.html
blob: cbcb4637b7abf804163a6232373ea1aed064ba2b (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
<html>
<head>
    <title>Tipps &mdash; Radio Helsinki - Freies Radio Graz</title>
</head>
<body>

<div id="content-main" class="recommendations">
  <h1>Programmhinweise</h1>
  <div class="shows">
{% for item in recommendation_list %}
    <div class="show recommendation  bf-{{ item.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 item.show.slug %}">{{ item.show.name }}</a></h3>
          <p class="timeslot-start-end">{{ item.timeslot.start|date:"d.m. H:i" }}-{{ item.timeslot.end|date:"H:i" }}</p>

          {% if item.show.short_description != 'FIXME' %}
          <p class="show-description">{{ item.show.short_description }}</p>
          {% endif %}

          <h3 class="note-title"><a href="{%  url timeslot-detail item.timeslot.id %}">{{ item.title }}</a></h3>

          <p class="note-content">{{ item.content|safe}}</p>

        </div>
    </div>
{% endfor %}
</div>

</body>
</html>