summaryrefslogtreecommitdiff
path: root/program/templates/boxes/language.html
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/boxes/language.html
parent8fa0d03d3509290ea6f523c2223966b1a2b73488 (diff)
fix model for new language field and add language filter to show list template
Diffstat (limited to 'program/templates/boxes/language.html')
-rw-r--r--program/templates/boxes/language.html15
1 files changed, 15 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 %}