summaryrefslogtreecommitdiff
path: root/program/templates/v2/recommendation.html
blob: 3dfeed2b8941d6ce49ac0fc736bb6f0167a1b895 (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
<!doctype html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>Recomendations box</title>
</head>
<body>
    <ul>
{% for recommendation in recommendation_list %}
        <li class="bf-{{ recommendation.show.broadcastformat.slug }}">
            <div class="time">{{ recommendation.start|date:"d.m. H:i" }} - {{ recommendation.end|date:"H:i" }}</td>
            <div class="show-name">
                <a href="{% url "timeslot-detail-v2" recommendation.id %}">{{ recommendation.show.name }}</a>
            </div>
            <div class="show-content">
{%   if recommendation.note %}
                {{ recommendation.note.title }}
{%   else %}
                {{ recommendation.show.short_description }}
{%   endif %}
                <br/>
                <a href="{% url "timeslot-detail-v2" recommendation.id %}">[weiter]</a>
            </div>
        </li>
{% endfor %}
    </ul>
</body>
</html>