From b23c473e3af9e7c4e5c7aee6bfc93cde40737d94 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 1 Mar 2021 11:44:28 +0100 Subject: fix vew names and url tag parameters for v2 templates diff --git a/program/templates/v2/current_show.html b/program/templates/v2/current_show.html index 3ffe8c4..ab5f843 100644 --- a/program/templates/v2/current_show.html +++ b/program/templates/v2/current_show.html @@ -10,7 +10,7 @@
  • {{ current_timeslot.start|date:"H:i" }}
    {% if current_timeslot.note %} @@ -35,7 +35,7 @@
  • {{ after_next_timeslot.start|date:"H:i" }}
    diff --git a/program/templates/v2/day_schedule.html b/program/templates/v2/day_schedule.html index ceb0bee..4a36bdb 100644 --- a/program/templates/v2/day_schedule.html +++ b/program/templates/v2/day_schedule.html @@ -64,7 +64,7 @@

    {{ timeslot.show.name }}

    + href="{% url "timeslot-detail-v2" timeslot.id %}">{{ timeslot.show.name }} {% if timeslot.note %}

    Heute: {{ timeslot.note.title }}

    {% else %} diff --git a/program/templates/v2/host_detail.html b/program/templates/v2/host_detail.html index e7aad16..1f2782c 100644 --- a/program/templates/v2/host_detail.html +++ b/program/templates/v2/host_detail.html @@ -10,7 +10,7 @@
    Sendungen
    {% for show in host.active_shows %} - + {% endfor %}
    diff --git a/program/templates/v2/host_list.html b/program/templates/v2/host_list.html index ada9bf1..8353b71 100644 --- a/program/templates/v2/host_list.html +++ b/program/templates/v2/host_list.html @@ -9,7 +9,7 @@
    {% for host in host_list %} {% endfor %}
    diff --git a/program/templates/v2/recommendation.html b/program/templates/v2/recommendation.html index 36b7c02..3dfeed2 100644 --- a/program/templates/v2/recommendation.html +++ b/program/templates/v2/recommendation.html @@ -10,7 +10,7 @@
  • {{ recommendation.start|date:"d.m. H:i" }} - {{ recommendation.end|date:"H:i" }}
    {% if recommendation.note %} @@ -19,7 +19,7 @@ {{ recommendation.show.short_description }} {% endif %}
    - [weiter] + [weiter]
  • {% endfor %} diff --git a/program/templates/v2/recommendation_list.html b/program/templates/v2/recommendation_list.html index 3fcc5d1..3b6f66d 100644 --- a/program/templates/v2/recommendation_list.html +++ b/program/templates/v2/recommendation_list.html @@ -25,16 +25,16 @@

    - {{ recommendation.show.name }}
    + {{ recommendation.show.name }}
    vom {{ recommendation.start|date:"d.m. H:i" }}-{{ recommendation.end|date:"H:i" }}

    {% if recommendation.note %}

    - {{ recommendation.note.title }} + {{ recommendation.note.title }}

    {{ recommendation.note.content|safe }}
    {% else %}

    {{ recommendation.show.broadcastformat.format }} + href="{% url "timeslot-detail-v2" recommendation.id %}">{{ recommendation.show.broadcastformat.format }}

    {% endif %}
    diff --git a/program/templates/v2/show_detail.html b/program/templates/v2/show_detail.html index 2e45549..88e439f 100644 --- a/program/templates/v2/show_detail.html +++ b/program/templates/v2/show_detail.html @@ -47,7 +47,7 @@

    {% for host in show.hosts.all %} - {{ host }}
    + {{ host }}
    {% endfor %} {% if show.email %} Email: {{ show.email }}
    @@ -63,18 +63,18 @@