summaryrefslogtreecommitdiff
path: root/templates/program/current_box.html
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-03-25 20:11:51 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-03-25 20:11:51 (GMT)
commit9c6be4e8eed0162555e67228cf8a923f3e24135e (patch)
tree1fbf14ef94b4d1d137715aa73a28802b93142768 /templates/program/current_box.html
parent957661c9b9fbefd1a2e7302911fe2e3e793f34ef (diff)
added filtering and day context variable to day/today schedule, renamed template for current view.
Diffstat (limited to 'templates/program/current_box.html')
-rw-r--r--templates/program/current_box.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/templates/program/current_box.html b/templates/program/current_box.html
new file mode 100644
index 0000000..3977994
--- /dev/null
+++ b/templates/program/current_box.html
@@ -0,0 +1,39 @@
+<html>
+<head>
+ <title>Current program box</title>
+ <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
+</head>
+<body>
+
+<div id="current">
+ <div id="current-title">Programm derzeit</div>
+
+ <div id="current-timeslot">
+ <div class="start">{{ current.start|date:"H:i" }}</div>
+ <div class="show {{ current.show.broadcastformat.slug }}">
+ <div class="name"><a href="{% url timeslot-detail current.id %}">{{ current.show.name }}</a></div>
+ {% if current.note %}
+ <div class="note-title">{{ current.note.title }}</div>
+ {% else %}
+ <div class="short-description">{{ current.show.short_description }}</div>
+ {% endif %}
+ </div>
+ </div>
+
+ <div id="next-timeslot">
+ <div class="start">{{ next.start|date:"H:i" }}</div>
+ <div class="show {{ next.show.broadcastformat.slug }}">
+ <div class="name"><a href="{% url timeslot-detail next.id %}">{{ next.show.name }}</a></div>
+ </div>
+ </div>
+
+ <div id="after-next-timeslot">
+ <div class="start"> {{ after_next.start|date:"H:i" }}</div>
+ <div class="show {{ after_next.show.broadcastformat.slug }}">
+ <div class="name"><a href="{% url timeslot-detail after_next.id %}">{{ after_next.show.name }}</div></a>
+ </div>
+ </div>
+</div>
+
+</body>
+</html> \ No newline at end of file