summaryrefslogtreecommitdiff
path: root/program/templates
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2021-02-17 17:50:37 (GMT)
committerChristian Pointner <equinox@helsinki.at>2021-02-17 17:50:37 (GMT)
commitaafc069b9d6945138c2c2de1228f1a52c22d3c40 (patch)
treed9e6d23fd7a10d66d41c59d8e055053d7b5df72c /program/templates
parent8fa0d03d3509290ea6f523c2223966b1a2b73488 (diff)
fix model for new language field and add language filter to show list template
Diffstat (limited to 'program/templates')
-rw-r--r--program/templates/boxes/language.html15
-rw-r--r--program/templates/day_schedule.html1
-rw-r--r--program/templates/show_list.html1
3 files changed, 17 insertions, 0 deletions
diff --git a/program/templates/boxes/language.html b/program/templates/boxes/language.html
new file mode 100644
index 0000000..050c342
--- /dev/null
+++ b/program/templates/boxes/language.html
@@ -0,0 +1,15 @@
+{% if language_list %}
+ <dl id="filterbox_language" class="portlet filterbox">
+ <dt class="portletHeader"><span>Sprache<span></dt>
+ <dd class="portletItem">
+ <ul>
+ {% for language in language_list %}
+ <li>
+ <a title="Sendungen auf {{ language.name }} anzeigen."
+ href="?language={{ language.slug }}">{{ language.name }}/{{ language.native_name }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ </dd>
+ </dl>
+{% endif %}
diff --git a/program/templates/day_schedule.html b/program/templates/day_schedule.html
index eb0d3d7..a117a10 100644
--- a/program/templates/day_schedule.html
+++ b/program/templates/day_schedule.html
@@ -46,6 +46,7 @@
{% musicfocus %}
{% showinformation %}
{% showtopic %}
+{% language %}
</div>
{% endcomment %}
diff --git a/program/templates/show_list.html b/program/templates/show_list.html
index d9b9a47..fc02872 100644
--- a/program/templates/show_list.html
+++ b/program/templates/show_list.html
@@ -15,6 +15,7 @@
{% musicfocus %}
{% showinformation %}
{% showtopic %}
+ {% language %}
</div>
<div id="content-main" class="show-list">