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

<div id="content-main" class="recommendations">
  <h1>Programmhinweise</h1>
  <div id="shows">
{% for item in recommendation_list %}
    <div class="show recommendation  bf-{{ item.show.broadcastformat.slug }}">
        <div class="show-abbrevs">
        {% for ab in item.show.showinformation.all %}
          <span title="{{ab.information}}" class="abbrev si-{{ ab.abbrev }}"><span>{{ ab.abbrev }}</span></span>
        {% endfor %}
        {% for ab in item.show.showtopic.all %}
          <span title="{{ab.topic}}" class="abbrev st-{{ ab.abbrev }}"><span>{{ ab.abbrev }}</span></span>
        {% endfor %}
        {% for ab in item.show.musicfocus.all %}
          <span title="{{ab.focus}}" class="abbrev mf-{{ ab.abbrev }}"><span>{{ ab.abbrev }}</span></span>
        {% endfor %}
        </div>
        <div class="show-detail">
          <h4>
            <a href="{% url show-detail item.show.slug %}">{{ item.show.name }}</a><br />
            vom {{ item.start|date:"d.m. H:i" }}-{{ item.end|date:"H:i" }}
          </h4>
        {% if item.note %}
          <h3 class="show-title">
            <a href="{%  url timeslot-detail item.id %}">{{ item.note.title }}</a>
          </h3>
          <div class="note-content">{{ item.note.content|safe}}</div>
        {% else %}
            <h3 class="show-title">
              <a href="{%  url timeslot-detail item.id %}">{{ item.show.broadcastformat.format }}</a>
            </h3>
        {% endif %}
      </div>
    </div>
{% endfor %}
  </div>
</div>

</body>
</html>