diff options
author | Christian Pointner <equinox@helsinki.at> | 2021-02-26 18:30:07 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2021-02-26 18:30:07 (GMT) |
commit | eee8713edf499865dee264d0c3a8947c752b02a4 (patch) | |
tree | a3bf8df502fbc4326e91ed7884ce8958175d7a7c /program/templates/v2/current_show.html | |
parent | af048dbfb9143be9958934a6f0b65d304bc13b22 (diff) | |
parent | 850f92794a2571f44fd95f53a3f96f5ea659b3a4 (diff) |
Merge branch 'new-homepage' into stable
Diffstat (limited to 'program/templates/v2/current_show.html')
-rw-r--r-- | program/templates/v2/current_show.html | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/program/templates/v2/current_show.html b/program/templates/v2/current_show.html new file mode 100644 index 0000000..3ffe8c4 --- /dev/null +++ b/program/templates/v2/current_show.html @@ -0,0 +1,56 @@ +<!doctype html> +<html> +<head> + <meta charset="utf-8"/> + <title>Current program box</title> +</head> +<body> + <ul> +{% if previous_timeslot %} + <li id="previous" class="bf-{{ previous_timeslot.show.broadcastformat.slug }}"> + <div class="time">{{ previous_timeslot.start|date:"H:i" }}</div> + <div class="show-name"> + <a href="{% url "timeslot-detail" previous_timeslot.id %}">{{ previous_timeslot.show.name }}</a> + </div> + <div class="show-content"> + </div> + </li> +{% endif %} +{% if current_timeslot %} + <li id="current" class="bf-{{ current_timeslot.show.broadcastformat.slug }}"> + <div class="time">{{ current_timeslot.start|date:"H:i" }}</div> + <div class="show-name"> + <a href="{% url "timeslot-detail" current_timeslot.id %}">{{ current_timeslot.show.name }}</a> + </div> + <div class="show-content"> +{% if current_timeslot.note %} + {{ current_timeslot.note.title }} +{% else %} + {{ current_timeslot.show.short_description }} +{% endif %} + </div> + </li> +{% endif %} +{% if next_timeslot %} + <li id="next" class="bf-{{ next_timeslot.show.broadcastformat.slug }}"> + <div class="time">{{ next_timeslot.start|date:"H:i" }}</div> + <div class="show-name"> + <a href="{% url "timeslot-detail" next_timeslot.id %}">{{ next_timeslot.show.name }}</a> + </div> + <div class="show-content"> + </div> + </li> +{% endif %} +{% if after_next_timeslot %} + <li id="after_next" class="bf-{{ after_next_timeslot.show.broadcastformat.slug }}"> + <div class="timer">{{ after_next_timeslot.start|date:"H:i" }}</div> + <div class="show-name"> + <a href="{% url "timeslot-detail" after_next_timeslot.id %}">{{ after_next_timeslot.show.name }}</a> + </div> + <div class="show-content"> + </div> + </li> +{% endif %} + </ul> +</body> +</html> |