summaryrefslogtreecommitdiff
path: root/pv/templates/program/boxes/recommendations.html
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2014-02-28 16:52:15 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2014-02-28 16:52:15 (GMT)
commitff12c7bebb0eca7495951b25d29949662bf32f9f (patch)
treef96d6398805bd59e70bc43278bf2f71139f8d789 /pv/templates/program/boxes/recommendations.html
parent30f04220ebceb54279ad81c39c4c4cfffc5d96a4 (diff)
re-structured projects
Diffstat (limited to 'pv/templates/program/boxes/recommendations.html')
-rw-r--r--pv/templates/program/boxes/recommendations.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/pv/templates/program/boxes/recommendations.html b/pv/templates/program/boxes/recommendations.html
new file mode 100644
index 0000000..2174654
--- /dev/null
+++ b/pv/templates/program/boxes/recommendations.html
@@ -0,0 +1,40 @@
+<!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 item in recommendation_list %}
+ <tr>
+ <td class="start">&nbsp;</td>
+ <td class="format bf-{{ item.show.broadcastformat.slug }}"
+ title="{{ item.show.broadcastformat.format }}">&nbsp;</td>
+ <td class="show">
+ {{ item.start|date:"d.m. H:i" }} -
+ {{ item.end|date:"H:i" }}<br />
+ <h3>
+ <a href="{% url timeslot-detail item.id %}">{{ item.show.name }}</a>
+ </h3>
+ <p class="note-title">
+ {% if item.note %}
+ {{ item.note.title }}<br />
+ {% else %}
+ {{ item.show.broadcastformat.format }}<br />
+ {% endif %}
+ <a href="{% url timeslot-detail item.id %}">[weiter]</a>
+ </p>
+ </td>
+ </tr>
+ {% endfor %}
+ </table>
+ </dd>
+ </dl>
+ {% endif %}
+</body>
+</html>