diff options
author | Christian Pointner <equinox@helsinki.at> | 2021-02-24 14:42:40 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2021-02-24 22:57:42 (GMT) |
commit | 3f935fe643fd8d4f807803c99dbd25d048acb143 (patch) | |
tree | a468d91855967488107bfa909306f3f8f292f0ce /program/templates/v2/timeslot_detail.html | |
parent | a1064414914efd53ef1c44ee12392fef8a0c0b0f (diff) |
add V2 views and template tags for new homepage
Diffstat (limited to 'program/templates/v2/timeslot_detail.html')
-rw-r--r-- | program/templates/v2/timeslot_detail.html | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/program/templates/v2/timeslot_detail.html b/program/templates/v2/timeslot_detail.html new file mode 100644 index 0000000..88749a2 --- /dev/null +++ b/program/templates/v2/timeslot_detail.html @@ -0,0 +1,57 @@ +<html> +<head> + <title>Sendung: {{ timeslot.show.name }} — Radio Helsinki - Freies Radio Graz</title> +</head> +<body> + +<div id="content-main" class="timeslot-detail"> + + <div class="show-detail-header bf-{{ timeslot.show.broadcastformat.slug }}"> + <h1 id="name"> + <a href="{% url "show-detail" timeslot.show.slug %}">{{ timeslot.show.name }}</a> + </h1> + {% if timeslot.note %} + <h2>{{ timeslot.note.title }}</h2> + {% endif %} + <strong>Sendung am {{ timeslot.start|date:"d.m.Y H:i" }} bis {{ timeslot.end|date:"H:i" }}</strong> + + <div class="show-abbrevs"> + {% for si in timeslot.show.showinformation.all %} + <span title="{{ si.information }}" class="abbrev si-{{ si.abbrev }}"><span>{{ si.abbrev }}</span></span> + {% endfor %} + {% for st in timeslot.show.showtopic.all %} + <span title="{{ st.topic }}" class="abbrev st-{{ st.abbrev }}"><span>{{ st.abbrev }}</span></span> + {% endfor %} + {% for mf in timeslot.show.musicfocus.all %} + <span title="{{ mf.focus }}" class="abbrev mf-{{ mf.abbrev }}"><span>{{ mf.abbrev }}</span></span> + {% endfor %} + </div> + + <p id="broadcastformat">{{ timeslot.show.broadcastformat.format }}</p> + </div> + + {% if timeslot.note %} + <p class="timeslot-note">{{ timeslot.note.content|safe }}</p> + {% endif %} + + <div id="short-description" class="documentDescription">{{ timeslot.show.short_description }}</div> + + {% if timeslot.show.description %} + <div id="description">{{ timeslot.show.description|safe }}</div> + {% endif %} + + <p> + {% for host in timeslot.show.hosts.all %} + <a href="{% url "host-detail" host.id %}">{{ host }}</a><br/> + {% endfor %} + {% if timeslot.show.email %} + <strong>Email:</strong> <a href="mailto:{{ timeslot.show.email }}">{{ timeslot.show.email }}</a><br/> + {% endif %} + {% if timeslot.show.website %} + <strong>Website:</strong> <a href="{{ timeslot.show.website }}">{{ timeslot.show.website }}</a><br/> + {% endif %} + </p> +</div> + +</body> +</html> |