From da7a48b7014613636b5e4a84866b6e0da3797d1a Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Mon, 21 Mar 2011 22:26:35 +0100 Subject: added templates for current & dav/today views. diff --git a/templates/program/current.html b/templates/program/current.html new file mode 100644 index 0000000..fd53d45 --- /dev/null +++ b/templates/program/current.html @@ -0,0 +1,14 @@ + +
+
+ {{ current }} +
+ +
+ {{ next }} +
+ +
+ {{ after_next }} +
+
\ No newline at end of file diff --git a/templates/program/day_schedule.html b/templates/program/day_schedule.html new file mode 100644 index 0000000..cb32ae8 --- /dev/null +++ b/templates/program/day_schedule.html @@ -0,0 +1,48 @@ + + +
+
+ +
+ {% for recommendation in recommendations %} +
{{ recommendation.timeslot.start|date:"H:i" }}
+
{{ recommendation.timeslot.programslot.show.name }}
+
{{ recommendation.title }}
+ {% endfor %} +
+ +
+ {% for timeslot in timeslots %} +
+ {{ timeslot.start|date:"H:i" }} + + {% for showinformation in timeslot.programslot.show.showinformation.all %} + {{ showinformation.abbrev }} + {% endfor %} + + + {% for showtopic in timeslot.programslot.show.showtopic.all %} + {{ showtopic.abbrev }} + {% endfor %} + + + {% for musicfocus in timeslot.programslot.show.musicfocus.all %} + {{ musicfocus.abbrev }} + {% endfor %} + + + {{ timeslot.show }} + {% if timeslot.note %} + Heute: {{ timeslot.note.title }} + {% endif %} + + {% endfor %} +
+ +
+ {% for broadcastformat in broadcastformats %} +
+ {{ broadcastformat }} +
+ {% endfor %} +
\ No newline at end of file diff --git a/templates/program/today_schedule.html b/templates/program/today_schedule.html new file mode 100644 index 0000000..cb32ae8 --- /dev/null +++ b/templates/program/today_schedule.html @@ -0,0 +1,48 @@ + + +
+
+ +
+ {% for recommendation in recommendations %} +
{{ recommendation.timeslot.start|date:"H:i" }}
+
{{ recommendation.timeslot.programslot.show.name }}
+
{{ recommendation.title }}
+ {% endfor %} +
+ +
+ {% for timeslot in timeslots %} +
+ {{ timeslot.start|date:"H:i" }} + + {% for showinformation in timeslot.programslot.show.showinformation.all %} + {{ showinformation.abbrev }} + {% endfor %} + + + {% for showtopic in timeslot.programslot.show.showtopic.all %} + {{ showtopic.abbrev }} + {% endfor %} + + + {% for musicfocus in timeslot.programslot.show.musicfocus.all %} + {{ musicfocus.abbrev }} + {% endfor %} + + + {{ timeslot.show }} + {% if timeslot.note %} + Heute: {{ timeslot.note.title }} + {% endif %} + + {% endfor %} +
+ +
+ {% for broadcastformat in broadcastformats %} +
+ {{ broadcastformat }} +
+ {% endfor %} +
\ No newline at end of file -- cgit v0.10.2