summaryrefslogtreecommitdiff
path: root/program/templates
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2021-03-03 13:21:31 (GMT)
committerChristian Pointner <equinox@helsinki.at>2021-03-03 13:21:31 (GMT)
commit2094bd035f5b9ede35f9b28d5a2be7555f59b3af (patch)
treeaee75b724b5e44066c07d8a74fecd542e8a04390 /program/templates
parent255b58b8b47f4fc12c634d5b3098538b2ab250b3 (diff)
parent546a1a082e6cbafaf0fd5a7063c3694e0e0205f3 (diff)
Merge branch 'new-homepage' into stable
Diffstat (limited to 'program/templates')
-rw-r--r--program/templates/v2/day_schedule.html2
-rw-r--r--program/templates/v2/host_detail.html2
-rw-r--r--program/templates/v2/host_list.html2
-rw-r--r--program/templates/v2/recommendation_list.html6
-rw-r--r--program/templates/v2/show_detail.html8
-rw-r--r--program/templates/v2/show_list.html2
-rw-r--r--program/templates/v2/timeslot_detail.html4
7 files changed, 13 insertions, 13 deletions
diff --git a/program/templates/v2/day_schedule.html b/program/templates/v2/day_schedule.html
index a4e1bde..e91c020 100644
--- a/program/templates/v2/day_schedule.html
+++ b/program/templates/v2/day_schedule.html
@@ -58,7 +58,7 @@
</div>
<div class="show-detail">
<h3 class="show-title"><a
- href="{% url "timeslot-detail-v2" timeslot.id %}">{{ timeslot.show.name }}</a></h3>
+ href="/program/{{ timeslot.id }}">{{ timeslot.show.name }}</a></h3>
{% if timeslot.note %}
<p class="note-title"><strong>Heute:</strong> {{ timeslot.note.title }}</p>
{% else %}
diff --git a/program/templates/v2/host_detail.html b/program/templates/v2/host_detail.html
index 1f2782c..a224635 100644
--- a/program/templates/v2/host_detail.html
+++ b/program/templates/v2/host_detail.html
@@ -10,7 +10,7 @@
<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-v2" show.slug %}"> {{ show.name }}</a></div>
+ <div class="show {{ show.broadcastformat.slug }}"><a href="/program/shows/{{ show.slug }}"> {{ show.name }}</a></div>
{% endfor %}
</div>
diff --git a/program/templates/v2/host_list.html b/program/templates/v2/host_list.html
index 8353b71..27b2895 100644
--- a/program/templates/v2/host_list.html
+++ b/program/templates/v2/host_list.html
@@ -9,7 +9,7 @@
<div class="host-list">
{% for host in host_list %}
<div class="host">
- <a href="{% url "host-detail-v2" host.id %}">{{ host.name }}</a>
+ <a href="/program/hosts/{{ host.id }}">{{ host.name }}</a>
</div>
{% endfor %}
</div>
diff --git a/program/templates/v2/recommendation_list.html b/program/templates/v2/recommendation_list.html
index 3b6f66d..5b47a6e 100644
--- a/program/templates/v2/recommendation_list.html
+++ b/program/templates/v2/recommendation_list.html
@@ -25,16 +25,16 @@
</div>
<div class="show-detail">
<h4>
- <a href="{% url "show-detail-v2" recommendation.show.slug %}">{{ recommendation.show.name }}</a><br/>
+ <a href="/program/shows/{{ recommendation.show.slug }}">{{ recommendation.show.name }}</a><br/>
vom {{ recommendation.start|date:"d.m. H:i" }}-{{ recommendation.end|date:"H:i" }}</h4>
{% if recommendation.note %}
<h3 class="show-title">
- <a href="{% url "timeslot-detail-v2" recommendation.id %}">{{ recommendation.note.title }}</a>
+ <a href="/program/{{ recommendation.id }}">{{ recommendation.note.title }}</a>
</h3>
<div class="note-content">{{ recommendation.note.content|safe }}</div>
{% else %}
<h3 class="show-title"><a
- href="{% url "timeslot-detail-v2" recommendation.id %}">{{ recommendation.show.broadcastformat.format }}</a>
+ href="/program/{{ recommendation.id }}">{{ recommendation.show.broadcastformat.format }}</a>
</h3>
{% endif %}
</div>
diff --git a/program/templates/v2/show_detail.html b/program/templates/v2/show_detail.html
index 88e439f..5e687f1 100644
--- a/program/templates/v2/show_detail.html
+++ b/program/templates/v2/show_detail.html
@@ -47,7 +47,7 @@
<p>
{% for host in show.hosts.all %}
- <a href="{% url "host-detail-v2" host.id %}">{{ host }}</a><br/>
+ <a href="/program/hosts/{{ host.id }}">{{ host }}</a><br/>
{% endfor %}
{% if show.email %}
<strong>Email:</strong> <a href="mailto:{{ show.email }}">{{ show.email }}</a><br/>
@@ -63,18 +63,18 @@
<ul class="recommendations-list">
{% for note in show.notes.all reversed %}
<li>
- <a href="{% url "timeslot-detail-v2" note.timeslot.id %}"
+ <a href="/program/{{ note.timeslot.id }}"
title="{{ note.title }}">{{ note.start|date:"d. M Y" }}:</a>
<div class="title">{{ note.title }}</div>
</li>
{% endfor %}
{% if show.predecessor and show.predecessor.notes.all %}
{% if show.name != show.predecessor.name %}
- <h3>Davor als <a href="{% url "show-detail-v2" show.predecessor.slug %}">{{ show.predecessor.name }}</a></h3>
+ <h3>Davor als <a href="/program/shows/{{ show.predecessor.slug }}">{{ show.predecessor.name }}</a></h3>
{% endif %}
{% for note in show.predecessor.notes.all reversed %}
<li>
- <a href="{% url "timeslot-detail-v2" note.timeslot.id %}"
+ <a href="/program/{{ note.timeslot.id }}"
title="{{ note.title }}">{{ note.start|date:"d. M Y" }}:</a>
<div class="title">{{ note.title }}</div>
</li>
diff --git a/program/templates/v2/show_list.html b/program/templates/v2/show_list.html
index c4d123b..b88695f 100644
--- a/program/templates/v2/show_list.html
+++ b/program/templates/v2/show_list.html
@@ -34,7 +34,7 @@
{% endfor %}
</div>
<div class="show-detail">
- <h3 class="show-title"><a href="{% url "show-detail-v2" show.slug %}">{{ show.name }}</a></h3>
+ <h3 class="show-title"><a href="/program/shows/{{ show.slug }}">{{ show.name }}</a></h3>
<ul class="show-programslots">
{% for programslot in show.active_program_slots %}
<li class="show-programslot">{{ programslot }}</li>
diff --git a/program/templates/v2/timeslot_detail.html b/program/templates/v2/timeslot_detail.html
index b4702da..b959b50 100644
--- a/program/templates/v2/timeslot_detail.html
+++ b/program/templates/v2/timeslot_detail.html
@@ -8,7 +8,7 @@
<div class="show-detail-header bf-{{ timeslot.show.broadcastformat.slug }}">
<h1 id="name">
- <a href="{% url "show-detail-v2" timeslot.show.slug %}">{{ timeslot.show.name }}</a>
+ <a href="/program/shows/{{ timeslot.show.slug }}">{{ timeslot.show.name }}</a>
</h1>
{% if timeslot.note %}
<h2>{{ timeslot.note.title }}</h2>
@@ -42,7 +42,7 @@
<p>
{% for host in timeslot.show.hosts.all %}
- <a href="{% url "host-detail-v2" host.id %}">{{ host }}</a><br/>
+ <a href="/program/hosts/{{ host.id }}">{{ host }}</a><br/>
{% endfor %}
{% if timeslot.show.email %}
<strong>Email:</strong> <a href="mailto:{{ timeslot.show.email }}">{{ timeslot.show.email }}</a><br/>