summaryrefslogtreecommitdiff
path: root/program/templates/v2/host_detail.html
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2021-02-24 14:42:40 (GMT)
committerChristian Pointner <equinox@helsinki.at>2021-02-24 22:57:42 (GMT)
commit3f935fe643fd8d4f807803c99dbd25d048acb143 (patch)
treea468d91855967488107bfa909306f3f8f292f0ce /program/templates/v2/host_detail.html
parenta1064414914efd53ef1c44ee12392fef8a0c0b0f (diff)
add V2 views and template tags for new homepage
Diffstat (limited to 'program/templates/v2/host_detail.html')
-rw-r--r--program/templates/v2/host_detail.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/program/templates/v2/host_detail.html b/program/templates/v2/host_detail.html
new file mode 100644
index 0000000..e7aad16
--- /dev/null
+++ b/program/templates/v2/host_detail.html
@@ -0,0 +1,27 @@
+<html>
+<head>
+ <title>Host: {{ host.name }} &mdash; Radio Helsinki - Freies Radio Graz</title>
+</head>
+<body>
+
+<div id="content-main" class="host-detail">
+ <div id="name">{{ host.name }}</div>
+
+ <div id="shows">
+ <div id="shows-title">Sendungen</div>
+ {% for show in host.active_shows %}
+ <div class="show {{ show.broadcastformat.slug }}"><a href="{% url "show-detail" show.slug %}"> {{ show.name }}</a></div>
+ {% endfor %}
+ </div>
+
+ {% if host.email %}
+ <div id="email">E-Mail Adresse: <a href="{{ host.email }}">{{ host.email }}</a></div>
+ {% endif %}
+
+ {% if host.website %}
+ <div id="website">Website: <a href="{{ host.website }}">{{ host.website }}</a></div>
+ {% endif %}
+</div>
+
+</body>
+</html>