summaryrefslogtreecommitdiff
path: root/program/templates/v2/recommendation.html
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2021-02-26 18:28:04 (GMT)
committerChristian Pointner <equinox@helsinki.at>2021-02-26 18:28:04 (GMT)
commit850f92794a2571f44fd95f53a3f96f5ea659b3a4 (patch)
treea3bf8df502fbc4326e91ed7884ce8958175d7a7c /program/templates/v2/recommendation.html
parent3f935fe643fd8d4f807803c99dbd25d048acb143 (diff)
initial cleanup of V2 templates
Diffstat (limited to 'program/templates/v2/recommendation.html')
-rw-r--r--program/templates/v2/recommendation.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/program/templates/v2/recommendation.html b/program/templates/v2/recommendation.html
new file mode 100644
index 0000000..36b7c02
--- /dev/null
+++ b/program/templates/v2/recommendation.html
@@ -0,0 +1,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" 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" recommendation.id %}">[weiter]</a>
+ </div>
+ </li>
+{% endfor %}
+ </ul>
+</body>
+</html>