From f9556589177352dbd93d8d6b011b93ce0d30abed Mon Sep 17 00:00:00 2001 From: Gytha Ogg Date: Thu, 28 Nov 2024 08:18:39 +0100 Subject: [PATCH] update templates to use new template lookup reference: 9605817e04674e1c91338acec515dbd7234d93ae --- .../instance_card_table.html} | 0 .../templates/apis_ontology/instance_detail.html | 6 ------ .../object_card_table.html} | 0 .../person_card_table.html} | 0 .../templates/apis_ontology/person_detail.html | 6 ------ .../place_card_table.html} | 0 .../templates/apis_ontology/place_detail.html | 16 ---------------- .../work_card_table.html} | 0 .../templates/apis_ontology/work_detail.html | 6 ------ 9 files changed, 34 deletions(-) rename apis_ontology/templates/{generic/partials/instance_table.html => apis_ontology/instance_card_table.html} (100%) delete mode 100644 apis_ontology/templates/apis_ontology/instance_detail.html rename apis_ontology/templates/{generic/partials/object_table.html => apis_ontology/object_card_table.html} (100%) rename apis_ontology/templates/{generic/partials/person_table.html => apis_ontology/person_card_table.html} (100%) delete mode 100644 apis_ontology/templates/apis_ontology/person_detail.html rename apis_ontology/templates/{generic/partials/place_table.html => apis_ontology/place_card_table.html} (100%) rename apis_ontology/templates/{generic/partials/work_table.html => apis_ontology/work_card_table.html} (100%) delete mode 100644 apis_ontology/templates/apis_ontology/work_detail.html diff --git a/apis_ontology/templates/generic/partials/instance_table.html b/apis_ontology/templates/apis_ontology/instance_card_table.html similarity index 100% rename from apis_ontology/templates/generic/partials/instance_table.html rename to apis_ontology/templates/apis_ontology/instance_card_table.html diff --git a/apis_ontology/templates/apis_ontology/instance_detail.html b/apis_ontology/templates/apis_ontology/instance_detail.html deleted file mode 100644 index 4b0a9d6..0000000 --- a/apis_ontology/templates/apis_ontology/instance_detail.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends "apis_ontology/tibscholentitymixin_detail.html" %} -{% block col-zero %} -
-
{% include "generic/partials/instance_table.html" %}
-
-{% endblock col-zero %} diff --git a/apis_ontology/templates/generic/partials/object_table.html b/apis_ontology/templates/apis_ontology/object_card_table.html similarity index 100% rename from apis_ontology/templates/generic/partials/object_table.html rename to apis_ontology/templates/apis_ontology/object_card_table.html diff --git a/apis_ontology/templates/generic/partials/person_table.html b/apis_ontology/templates/apis_ontology/person_card_table.html similarity index 100% rename from apis_ontology/templates/generic/partials/person_table.html rename to apis_ontology/templates/apis_ontology/person_card_table.html diff --git a/apis_ontology/templates/apis_ontology/person_detail.html b/apis_ontology/templates/apis_ontology/person_detail.html deleted file mode 100644 index b94dbb6..0000000 --- a/apis_ontology/templates/apis_ontology/person_detail.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends "apis_ontology/tibscholentitymixin_detail.html" %} -{% block col-zero %} -
-
{% include "generic/partials/person_table.html" %}
-
-{% endblock col-zero %} diff --git a/apis_ontology/templates/generic/partials/place_table.html b/apis_ontology/templates/apis_ontology/place_card_table.html similarity index 100% rename from apis_ontology/templates/generic/partials/place_table.html rename to apis_ontology/templates/apis_ontology/place_card_table.html diff --git a/apis_ontology/templates/apis_ontology/place_detail.html b/apis_ontology/templates/apis_ontology/place_detail.html index 80a4788..4eab9d9 100644 --- a/apis_ontology/templates/apis_ontology/place_detail.html +++ b/apis_ontology/templates/apis_ontology/place_detail.html @@ -1,22 +1,6 @@ {% extends "apis_core/apis_entities/e53_place_detail.html" %} {% load static %} - -{% block col-zero %} -
-
{% include "generic/partials/place_table.html" %}
-
- - {% if object.latitude and object.longitude %} - - {% endif %} -
{{ object }}
-
- -
-{% endblock %} {% block relations-include %} {% include "relations/list_relations_include_tabs.html" %} {% endblock relations-include %} diff --git a/apis_ontology/templates/generic/partials/work_table.html b/apis_ontology/templates/apis_ontology/work_card_table.html similarity index 100% rename from apis_ontology/templates/generic/partials/work_table.html rename to apis_ontology/templates/apis_ontology/work_card_table.html diff --git a/apis_ontology/templates/apis_ontology/work_detail.html b/apis_ontology/templates/apis_ontology/work_detail.html deleted file mode 100644 index fcf9562..0000000 --- a/apis_ontology/templates/apis_ontology/work_detail.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends "apis_ontology/tibscholentitymixin_detail.html" %} -{% block col-zero %} -
-
{% include "generic/partials/work_table.html" %}
-
-{% endblock col-zero %}