From 9550e73f657ee76251cb8844feca03992825f9f3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 5 Jun 2023 02:57:02 -0400 Subject: [PATCH] fix typo --- catalog/podcast/models.py | 2 -- catalog/templates/performanceproduction.html | 4 +--- common/templates/_header.html | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/catalog/podcast/models.py b/catalog/podcast/models.py index 48da2aaf..184b90b4 100644 --- a/catalog/podcast/models.py +++ b/catalog/podcast/models.py @@ -67,8 +67,6 @@ class Podcast(Item): return f"http://{self.primary_lookup_id_value}" -# class PodcastEpisode(Item): -# pass class PodcastEpisode(Item): category = ItemCategory.Podcast url_path = "podcast/episode" diff --git a/catalog/templates/performanceproduction.html b/catalog/templates/performanceproduction.html index 0ad32255..b454f78b 100644 --- a/catalog/templates/performanceproduction.html +++ b/catalog/templates/performanceproduction.html @@ -20,9 +20,7 @@
{% include '_people.html' with people=item.genre role='类型' max=5 %}
{% include '_people.html' with people=item.troupe role='剧团' max=5 %}
{% include '_people.html' with people=item.location role='剧院' max=5 %}
-
- {% if item.language %}语言: {{ item.language }}{% endif %} -
+
{% include '_people.html' with people=item.language role='语言' max=5 %}
{% if item.opening_date %}日期: {{ item.opening_date }}{% endif %}
diff --git a/common/templates/_header.html b/common/templates/_header.html index acaeb8b4..0c55c9ad 100644 --- a/common/templates/_header.html +++ b/common/templates/_header.html @@ -30,7 +30,7 @@ + value="performance">演出