summaryrefslogtreecommitdiff
path: root/pv/templates/program/boxes/current.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/current.html
parent30f04220ebceb54279ad81c39c4c4cfffc5d96a4 (diff)
re-structured projects
Diffstat (limited to 'pv/templates/program/boxes/current.html')
-rw-r--r--pv/templates/program/boxes/current.html60
1 files changed, 60 insertions, 0 deletions
diff --git a/pv/templates/program/boxes/current.html b/pv/templates/program/boxes/current.html
new file mode 100644
index 0000000..ba1df21
--- /dev/null
+++ b/pv/templates/program/boxes/current.html
@@ -0,0 +1,60 @@
+<!doctype html>
+<html>
+<head>
+ <meta charset="utf-8"/>
+ <title>Current program box</title>
+</head>
+<body>
+
+ {% if previous or current or next or after_next %}
+ <dl id="program-current-box" class="portlet program-box">
+ <dt class="portletHeader">Programm derzeit</dt>
+ <dd class="portletItem">
+ <table>
+ <tr class="previous">
+ <td class="start">{{ previous.start|date:"H:i" }}</td>
+ <td class="format bf-{{ previous.show.broadcastformat.slug }}"
+ title="{{ previous.show.broadcastformat.format }}">&nbsp;</td>
+ <td class="show">
+ <h3><a href="{% url timeslot-detail previous.id %}">{{ previous.show.name }}</a></h3>
+ </td>
+ <td class="show"></td>
+ </tr>
+ <tr class="current">
+ <td class="start">{{ current.start|date:"H:i" }}</td>
+ <td class="format bf-{{ current.show.broadcastformat.slug }}"
+ title="{{ current.show.broadcastformat.format }}">&#x25B6;</td>
+ <td class="show">
+ <h3><a href="{% url timeslot-detail current.id %}">{{ current.show.name }}</a></h3>
+ {% if current.note %}
+ <p>{{ current.note.title }}</p>
+ {% else %}
+ <p>{{ current.show.short_description }}</p>
+ {% endif %}
+ </td>
+ </tr>
+ <tr class="next">
+ <td class="start">{{ next.start|date:"H:i" }}</td>
+ <td class="format bf-{{ next.show.broadcastformat.slug }}"
+ title="{{ next.show.broadcastformat.format }}">&nbsp;</td>
+ <td class="show">
+ <h3><a href="{% url timeslot-detail next.id %}">{{ next.show.name }}</a></h3>
+ </td>
+ <td class="show"></td>
+ </tr>
+ <tr class="after_next">
+ <td class="start">{{ after_next.start|date:"H:i" }}</td>
+ <td class="format bf-{{ after_next.show.broadcastformat.slug }}"
+ title="{{ after_next.show.broadcastformat.format }}">&nbsp;</td>
+ <td class="show">
+ <h3><a href="{% url timeslot-detail after_next.id %}">{{ after_next.show.name }}</a></h3>
+ </td>
+ <td class="show"></td>
+ </tr>
+ </table>
+ </dd>
+ </dl>
+ {% endif %}
+
+</body>
+</html>