From 97c80fcfdc9b6f70082437c86632313f961325b4 Mon Sep 17 00:00:00 2001 From: Their Name Date: Mon, 9 Jan 2023 08:36:41 +0000 Subject: [PATCH] hide some unsupported data type --- catalog/templates/item_base.html | 3 +-- catalog/templates/performance.html | 20 +------------------- journal/templates/list_item_performance.html | 0 journal/templates/list_item_podcast.html | 0 journal/templates/list_item_work.html | 1 + 5 files changed, 3 insertions(+), 21 deletions(-) create mode 100644 journal/templates/list_item_performance.html create mode 100644 journal/templates/list_item_podcast.html create mode 100644 journal/templates/list_item_work.html diff --git a/catalog/templates/item_base.html b/catalog/templates/item_base.html index 296df118..4a23c259 100644 --- a/catalog/templates/item_base.html +++ b/catalog/templates/item_base.html @@ -68,11 +68,10 @@ {% trans '评分:评分人数不足' %} {% endif %} +
此类数据尚未支持
uuid: {{item.uuid}}
class: {{item.class_name}}
category: {{item.category}}
-
id type: {{item.primary_id_type}}
-
id value: {{item.primary_id_value}
{% endblock %} diff --git a/catalog/templates/performance.html b/catalog/templates/performance.html index 16df8f0e..10fba060 100644 --- a/catalog/templates/performance.html +++ b/catalog/templates/performance.html @@ -1,19 +1 @@ -{% extends "item_base.html" %} -{% load static %} -{% load i18n %} -{% load l10n %} -{% load humanize %} -{% load admin_url %} -{% load mastodon %} -{% load oauth_token %} -{% load truncate %} -{% load strip_scheme %} -{% load thumb %} - - -{% block details %} -{% endblock %} - - -{% block sidebar %} -{% endblock %} +Unsupported Data Type diff --git a/journal/templates/list_item_performance.html b/journal/templates/list_item_performance.html new file mode 100644 index 00000000..e69de29b diff --git a/journal/templates/list_item_podcast.html b/journal/templates/list_item_podcast.html new file mode 100644 index 00000000..e69de29b diff --git a/journal/templates/list_item_work.html b/journal/templates/list_item_work.html new file mode 100644 index 00000000..c9f2992f --- /dev/null +++ b/journal/templates/list_item_work.html @@ -0,0 +1 @@ +