diff --git a/catalog/performance/models.py b/catalog/performance/models.py index cd8ef054..bb6be480 100644 --- a/catalog/performance/models.py +++ b/catalog/performance/models.py @@ -364,6 +364,13 @@ class PerformanceProduction(Item): def set_parent_item(self, value): self.show = value + @classmethod + def lookup_id_type_choices(cls): + id_types = [ + IdType.DoubanDramaVersion, + ] + return [(i.value, i.label) for i in id_types] + @property def display_title(self): return f"{self.show.title if self.show else '♢'} {self.title}" diff --git a/catalog/tv/models.py b/catalog/tv/models.py index 0a44888b..036cc749 100644 --- a/catalog/tv/models.py +++ b/catalog/tv/models.py @@ -451,6 +451,14 @@ class TVEpisode(Item): def set_parent_item(self, value): self.season = value + @classmethod + def lookup_id_type_choices(cls): + id_types = [ + IdType.IMDB, + IdType.TMDB_TVEpisode, + ] + return [(i.value, i.label) for i in id_types] + def update_linked_items_from_external_resource(self, resource): for w in resource.required_resources: if w["model"] == "TVSeason": diff --git a/common/templates/400.html b/common/templates/400.html index ca9c1764..a289c255 100644 --- a/common/templates/400.html +++ b/common/templates/400.html @@ -20,7 +20,7 @@
-

🤦🏻 无效的请求

+

🤷🏻 无效的请求

您可能提交了无效的数据,或者相关内容已被作者删除。如果您确信这是我们的错误,请通过页面底部的链接联系我们。
diff --git a/common/templates/403.html b/common/templates/403.html index 320cab0d..b77a4609 100644 --- a/common/templates/403.html +++ b/common/templates/403.html @@ -20,7 +20,7 @@
-

🤦🏻 权限不符

+

🙅🏻 权限不符

{{ exception }} 您可能访问了错误的网址,或者相关内容已被作者删除。如果您确信这是我们的错误,请通过页面底部的链接联系我们。 diff --git a/common/templates/404.html b/common/templates/404.html index a4969bb6..0995db55 100644 --- a/common/templates/404.html +++ b/common/templates/404.html @@ -20,7 +20,7 @@
-

🤦🏻 条目未找到

+

🤷🏻 条目未找到

您可能输入了一个无效的网址,或者相关内容已被作者删除。如果您确信这是我们的错误,请通过页面底部的链接联系我们。