This commit is contained in:
Your Name 2023-06-05 02:57:02 -04:00 committed by Henri Dickson
parent 7d7ece13ac
commit 9550e73f65
3 changed files with 2 additions and 6 deletions

View file

@ -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"

View file

@ -20,9 +20,7 @@
<div>{% include '_people.html' with people=item.genre role='类型' max=5 %}</div>
<div>{% include '_people.html' with people=item.troupe role='剧团' max=5 %}</div>
<div>{% include '_people.html' with people=item.location role='剧院' max=5 %}</div>
<div>
{% if item.language %}语言: <span>{{ item.language }}</span>{% endif %}
</div>
<div>{% include '_people.html' with people=item.language role='语言' max=5 %}</div>
<div>
{% if item.opening_date %}日期: <span>{{ item.opening_date }}</span>{% endif %}
</div>

View file

@ -30,7 +30,7 @@
<option {% if request.GET.c and request.GET.c == 'game' or '/game/' in request.path %}selected{% endif %}
value="game">游戏</option>
<option {% if request.GET.c and request.GET.c == 'performance' or '/performance/' in request.path %}selected{% endif %}
value="game">演出</option>
value="performance">演出</option>
</select>
<input type="submit" value="&#xf002;" class="fa-solid" />
</form>