summaryrefslogtreecommitdiff
path: root/program/templates/boxes/recommendation.html
blob: 3f4429e03b7dd58b102d95f2d679e7e07c201ebd (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
<!doctype html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>Recomendations box</title>
</head>
<body>
{% if recommendation_list %}
    <dl id="recommendations" class="portlet program-box">
        <dt class="portletHeader">Programmhinweise</dt>
        <dd class="portletItem">
            <table>
                {% for recommendation in recommendation_list %}
                    <tr>
                        <td class="start">&nbsp;</td>
                        <td class="format bf-{{ recommendation.show.broadcastformat.slug }}"
                            title="{{ recommendation.show.broadcastformat.format }}">&nbsp;</td>
                        <td class="show">
                            {{ recommendation.start|date:"d.m. H:i" }} - {{ recommendation.end|date:"H:i" }}<br/>
                            <h3>
                                <a href="{% url "timeslot-detail" recommendation.id %}">{{ recommendation.show.name }}</a>
                            </h3>
                            <p class="note-title">
                                {% if recommendation.note %}
                                    {{ recommendation.note.title }}<br/>
                                {% else %}
                                    {{ recommendation.show.broadcastformat.format }}<br/>
                                {% endif %}
                                <a href="{% url "timeslot-detail" recommendation.id %}">[weiter]</a>
                            </p>
                        </td>
                    </tr>
                {% endfor %}
            </table>
        </dd>
    </dl>
{% endif %}
</body>
</html>