tweak templates

This commit is contained in:
Your Name 2024-07-15 22:18:25 -04:00 committed by Henri Dickson
parent 520fb0f927
commit 61247dd0ed
9 changed files with 9 additions and 9 deletions

View file

@ -67,7 +67,7 @@ class Podcast(Item):
# "brief",
"localized_title",
"language",
"hosts",
"host",
"genre",
"official_site",
"localized_description",

View file

@ -138,7 +138,7 @@ class PodcastRSSFeedTestCase(TestCase):
# metadata = site.resource.metadata
# self.assertEqual(metadata["title"], "大内密谈")
# self.assertEqual(metadata["genre"], ["other"])
# self.assertEqual(metadata["hosts"], ["大内密谈"])
# self.assertEqual(metadata["host"], ["大内密谈"])
# self.assertIsNotNone(site.get_item().recent_episodes[0].title)
# self.assertIsNotNone(site.get_item().recent_episodes[0].link)
# self.assertIsNotNone(site.get_item().recent_episodes[0].media_url)

View file

@ -9,7 +9,7 @@
{% load duration %}
<!-- class specific details -->
{% block details %}
<div>{% include '_people.html' with people=item.additional_title role='other title' max=5 %}</div>
<div>{% include '_people.html' with people=item.additional_title role='' max=99 %}</div>
<div>{% include '_people.html' with people=item.artist role='artist' max=5 %}</div>
<div>{% include '_people.html' with people=item.company role='publisher' max=5 %}</div>
<div>

View file

@ -9,7 +9,7 @@
<!-- class specific details -->
{% block details %}
<div class="tldr-2" _="on click toggle .tldr-2 on me">
{% include '_people.html' with people=item.additional_title _role='other title' max=99 %}
{% include '_people.html' with people=item.additional_title _role='' max=99 %}
</div>
<div>
{% if item.release_date %}

View file

@ -8,7 +8,7 @@
{% load thumb %}
<!-- class specific details -->
{% block details %}
<div>{% include '_people.html' with people=item.additional_title role='other title' max=5 %}</div>
<div>{% include '_people.html' with people=item.additional_title role='' max=99 %}</div>
<div>{% include '_people.html' with people=item.director role='director' max=5 %}</div>
<div>{% include '_people.html' with people=item.playwright role='playwright' max=5 %}</div>
<div>{% include '_people.html' with people=item.actor role='actor' max=5 %}</div>

View file

@ -8,7 +8,7 @@
{% load thumb %}
<!-- class specific details -->
{% block details %}
<div>{% include '_people.html' with people=item.additional_title _role='other title' max=5 %}</div>
<div>{% include '_people.html' with people=item.additional_title _role='' max=99 %}</div>
<div>
{% if item.opening_date %}
{% trans "opening date" %}:

View file

@ -15,7 +15,7 @@
{% if item.closing_date %}~ <span>{{ item.closing_date }}</span>{% endif %}
{% endif %}
</div>
<div>{% include '_people.html' with people=item.additional_title _role='other title' max=5 %}</div>
<div>{% include '_people.html' with people=item.additional_title _role='' max=99 %}</div>
<div>{% include '_people.html' with people=item.genre role='genre' max=5 %}</div>
<div>{% include '_people.html' with people=item.troupe role='troupe' max=5 %}</div>
<div>{% include '_people.html' with people=item.location role='theater' max=5 %}</div>

View file

@ -8,7 +8,7 @@
{% load thumb %}
<!-- class specific details -->
{% block details %}
<div>{% include '_people.html' with people=item.additional_title role='other title' max=5 %}</div>
<div>{% include '_people.html' with people=item.additional_title role='' max=99 %}</div>
<div>{% include '_people.html' with people=item.director role='director' max=5 %}</div>
<div>{% include '_people.html' with people=item.playwright role='playwright' max=5 %}</div>
<div>{% include '_people.html' with people=item.actor role='actor' max=5 %}</div>

View file

@ -8,7 +8,7 @@
{% load thumb %}
<!-- class specific details -->
{% block details %}
<div>{% include '_people.html' with people=item.additional_title role='other title' max=5 %}</div>
<div>{% include '_people.html' with people=item.additional_title role='' max=99 %}</div>
<div>{% include '_people.html' with people=item.author role='author' max=5 %}</div>
{% endblock %}
{% block left_sidebar %}