From 79ac160f239937bb4beb982e2cab2020d4eac9d1 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 10 Mar 2021 17:12:04 +0100 Subject: update some more templates for new homepage diff --git a/program/templates/v2/day_schedule.html b/program/templates/v2/day_schedule.html index 605d326..e97d5ad 100644 --- a/program/templates/v2/day_schedule.html +++ b/program/templates/v2/day_schedule.html @@ -12,15 +12,18 @@ {% if forloop.first and timeslot.start != timeslot.get_previous_by_start.end %}
{{ timeslot.get_previous_by_start.end|date:"H:i" }}
-
+
{% for si in default_show.showinformation.all %} - {{ si.abbrev }} + {{ si.abbrev }} {% endfor %} {% for st in default_show.showtopic.all %} - {{ st.abbrev }} + {{ st.abbrev }} {% endfor %} {% for mf in default_show.musicfocus.all %} - {{ mf.abbrev }} + {{ mf.abbrev }} +{% endfor %} +{% for lang in default_show.language.all %} + {{ lang.slug }} {% endfor %}
@@ -31,15 +34,18 @@ {% endif %}
{{ timeslot.start|date:"H:i" }}
-
+
{% for si in timeslot.show.showinformation.all %} - {{ si.abbrev }} + {{ si.abbrev }} {% endfor %} {% for st in timeslot.show.showtopic.all %} - {{ st.abbrev }} + {{ st.abbrev }} {% endfor %} {% for mf in timeslot.show.musicfocus.all %} - {{ mf.abbrev }} + {{ mf.abbrev }} +{% endfor %} +{% for lang in timeslot.show.language.all %} + {{ lang.slug }} {% endfor %}
@@ -54,15 +60,18 @@ {% if timeslot.end != timeslot.get_next_by_start.start %}
{{ timeslot.end|date:"H:i" }}
-
+
{% for si in default_show.showinformation.all %} - {{ si.abbrev }} + {{ si.abbrev }} {% endfor %} {% for st in default_show.showtopic.all %} - {{ st.abbrev }} + {{ st.abbrev }} {% endfor %} {% for mf in default_show.musicfocus.all %} - {{ mf.abbrev }} + {{ mf.abbrev }} +{% endfor %} +{% for lang in default_show.language.all %} + {{ lang.slug }} {% endfor %}
diff --git a/program/templates/v2/host_detail.html b/program/templates/v2/host_detail.html index 792a0a3..0dff882 100644 --- a/program/templates/v2/host_detail.html +++ b/program/templates/v2/host_detail.html @@ -5,12 +5,12 @@
-
{{ host.name }}
+

{{ host.name }}

Sendungen
{% for show in host.active_shows %} - + {% endfor %}
{% if host.email %} diff --git a/program/templates/v2/host_list.html b/program/templates/v2/host_list.html index 03b7c47..b2c1542 100644 --- a/program/templates/v2/host_list.html +++ b/program/templates/v2/host_list.html @@ -6,7 +6,7 @@

Sendungsmachende A-Z

-
+
{% for host in host_list %} {% endfor %} diff --git a/program/templates/v2/recommendation_list.html b/program/templates/v2/recommendation_list.html index f668949..a2b6b54 100644 --- a/program/templates/v2/recommendation_list.html +++ b/program/templates/v2/recommendation_list.html @@ -4,20 +4,23 @@ -
+

Programmhinweise

{% for recommendation in recommendation_list %}
-
+
{% for si in recommendation.show.showinformation.all %} - {{ si.abbrev }} + {{ si.abbrev }} {% endfor %} {% for st in recommendation.show.showtopic.all %} - {{ st.abbrev }} + {{ st.abbrev }} {% endfor %} {% for mf in recommendation.show.musicfocus.all %} - {{ mf.abbrev }} + {{ mf.abbrev }} +{% endfor %} +{% for lang in recommendation.show.language.all %} + {{ lang.slug }} {% endfor %}
diff --git a/program/templates/v2/show_detail.html b/program/templates/v2/show_detail.html index d0ac5a8..ded171e 100644 --- a/program/templates/v2/show_detail.html +++ b/program/templates/v2/show_detail.html @@ -6,9 +6,10 @@
+

{{ show.name }}

+
-

{{ show.name }}

{% if show.id != 1 %}

{% for slot in show.active_programslots %} @@ -18,18 +19,22 @@ {% endif %}

-
-

{{ show.broadcastformat.format }}

+
{% for si in show.showinformation.all %} - {{ si.abbrev }} + {{ si.abbrev }} {% endfor %} {% for st in show.showtopic.all %} - {{ st.abbrev }} + {{ st.abbrev }} {% endfor %} {% for mf in show.musicfocus.all %} - {{ mf.abbrev }} + {{ mf.abbrev }} +{% endfor %} +{% for lang in show.language.all %} + {{ lang.slug }} {% endfor %}
+ +
{{ show.broadcastformat.format }}
{{ show.short_description }}
diff --git a/program/templates/v2/show_list.html b/program/templates/v2/show_list.html index eacb608..466cf77 100644 --- a/program/templates/v2/show_list.html +++ b/program/templates/v2/show_list.html @@ -10,15 +10,18 @@
{% for show in show_list %}
-
+
{% for si in show.showinformation.all %} - {{ si.abbrev }} + {{ si.abbrev }} {% endfor %} {% for st in show.showtopic.all %} - {{ st.abbrev }} + {{ st.abbrev }} {% endfor %} {% for mf in show.musicfocus.all %} - {{ mf.abbrev }} + {{ mf.abbrev }} +{% endfor %} +{% for lang in show.language.all %} + {{ lang.slug }} {% endfor %}
diff --git a/program/templates/v2/timeslot_detail.html b/program/templates/v2/timeslot_detail.html index 2d43fa8..d4ac952 100644 --- a/program/templates/v2/timeslot_detail.html +++ b/program/templates/v2/timeslot_detail.html @@ -16,16 +16,16 @@
{% for si in timeslot.show.showinformation.all %} - {{ si.abbrev }} + {{ si.abbrev }} {% endfor %} {% for st in timeslot.show.showtopic.all %} - {{ st.abbrev }} + {{ st.abbrev }} {% endfor %} {% for mf in timeslot.show.musicfocus.all %} - {{ mf.abbrev }} + {{ mf.abbrev }} {% endfor %} {% for lang in timeslot.show.language.all %} - {{ lang.slug }} + {{ lang.slug }} {% endfor %}
-- cgit v0.10.2