diff options
Diffstat (limited to 'templates/program/boxes/current.html')
-rw-r--r-- | templates/program/boxes/current.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/templates/program/boxes/current.html b/templates/program/boxes/current.html new file mode 100644 index 0000000..a2341d3 --- /dev/null +++ b/templates/program/boxes/current.html @@ -0,0 +1,42 @@ +<!doctype html> +<html> +<head> + <meta charset="utf-8"/> + <title>Current program box</title> + <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" /> +</head> +<body> + + {% if current or next or after_next %} + <dl class="portlet program-current"> + <dt class="portletHeader">Programm derzeit</dt> + <dd class="portletItem 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 %} + {% if current.show.short_description != 'FIXME' %} + <div class="short-description">{{ current.show.short_description }}</div> + {% endif %} + {% endif %} + </div> + </dd> + <dd class="portletItem 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> + </dd> + <dd class="portletItem 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> + </dd> + </dl> + {% endif %} + +</body> +</html> |