diff --git a/apis_core/apis_entities/templates/apis_entities/tei/Org.xml b/apis_core/apis_entities/templates/apis_entities/tei/Org.xml deleted file mode 100644 index bc5df1ee2..000000000 --- a/apis_core/apis_entities/templates/apis_entities/tei/Org.xml +++ /dev/null @@ -1,32 +0,0 @@ - - {{ object.name }} -{% for x in object.label_set.all %} - {{ x }} -{% endfor %} -{% if object.lat %} - - {{ object.lat }} {{ object.lng }} - -{% endif %} -{% for x in org_located_in %} - - {{ x.related_place.name }} - {% if x.related_place.lat %}{{ x.related_place.lat }} {{ x.related_place.lng }}{% endif %} - {% for y in x.related_place.uri_set.all %} - {{ y }} - {% endfor %} - -{% endfor %} -{% for x in object.uri_set.all %} - {{ x }} -{% endfor %} -{% if object.collection.all %} -{% include 'apis_tei/collections.xml' %} -{% endif %} -{% if object.note %} - {{ object.note }} -{% endif %} -{% if object.references %} - {{ object.references }} -{% endif %} - \ No newline at end of file diff --git a/apis_core/apis_entities/templates/apis_entities/tei/Person.xml b/apis_core/apis_entities/templates/apis_entities/tei/Person.xml deleted file mode 100644 index b13bd20af..000000000 --- a/apis_core/apis_entities/templates/apis_entities/tei/Person.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - {% if object.first_name %}{{ object.first_name }}{% endif %} - {% if object.name %}{{ object.name }}{% endif %} - -{% for x in object.label_set.all %} - {{x}} -{% endfor %} -{% include 'apis_entities/tei/partials/birth_death.xml' %} -{% if object.gender %} - -{% else %} - -{% endif %} -{% for x in object.profession.all %} - {{ x }} -{% endfor %} -{% for x in object.uri_set.all %} - {{ x }} -{% endfor %} -{% include 'apis_entities/tei/partials/affiliation.xml' %} -{% if object.personevent_set.all %} -{% include 'apis_entities/tei/partials/events.xml' %} -{% endif %} -{% if object.collection.all %} -{% include 'apis_entities/tei/partials/collections.xml' %} -{% endif %} -{% if object.note %} - {{ object.note }} -{% endif %} -{% if object.references %} - {{ object.references }} -{% endif %} - diff --git a/apis_core/apis_entities/templates/apis_entities/tei/Place.xml b/apis_core/apis_entities/templates/apis_entities/tei/Place.xml deleted file mode 100644 index 33f90ccd8..000000000 --- a/apis_core/apis_entities/templates/apis_entities/tei/Place.xml +++ /dev/null @@ -1,29 +0,0 @@ - - {{ object.name }} -{% for x in object.label_set.all %} - {{ x }} -{% endfor %} -{% if object.lat %} - - {{ object.lat }} {{ object.lng }} - -{% endif %} -{% for x in pl_located_in %} - - {{ x.name }} - {% if x.lat %}{{ x.lat }} {{ x.lng }}{% endif %} - -{% endfor %} -{% for x in object.uri_set.all %} - {{ x }} -{% endfor %} -{% if object.collection.all %} -{% include 'apis_tei/collections.xml' %} -{% endif %} -{% if object.note %} - {{ object.note }} -{% endif %} -{% if object.references %} - {{ object.references }} -{% endif %} - diff --git a/apis_core/apis_entities/templates/apis_entities/tei/Work.xml b/apis_core/apis_entities/templates/apis_entities/tei/Work.xml deleted file mode 100644 index 81afe0ddd..000000000 --- a/apis_core/apis_entities/templates/apis_entities/tei/Work.xml +++ /dev/null @@ -1,52 +0,0 @@ - - {{ object.name }} -{% for x in object.label_set.all %} - {{ x }} -{% endfor %} -{% if author_rels %} -{% for x in author_rels %} - {{ x.related_person }} -{% endfor %} -{% endif %} -{% for x in item_located_in %} - - {{ x.related_place.name }} - {% if x.related_place.lat %}{{ x.related_place.lat }} {{ x.related_place.lng }}{% endif %} - {% for y in x.related_place.uri_set.all %} - {{ y }} - {% endfor %} - -{% endfor %} -{% if object.start_date_written %} -{{ object.start_date_written }} -{% endif %} -{% for x in object.uri_set.all %} - {{ x }} -{% endfor %} -{% if object.collection.all %} - - {% for x in object.collection.all %} - {{ x.name }} - {% endfor %} - -{% endif %} -{% if object.note %} - {{ object.note }} -{% endif %} -{% if object.kind %} - {{ object.kind }} -{% endif %} -{% if object.references %} - {{ object.references }} -{% endif %} - \ No newline at end of file diff --git a/apis_core/apis_entities/templates/apis_entities/tei/partials/affiliation.xml b/apis_core/apis_entities/templates/apis_entities/tei/partials/affiliation.xml deleted file mode 100644 index 5456e9bee..000000000 --- a/apis_core/apis_entities/templates/apis_entities/tei/partials/affiliation.xml +++ /dev/null @@ -1,19 +0,0 @@ -{% for x in object.personinstitution_set.all %} - - {{ x.relation_type }} - {{ x.related_institution.name }} - {% for uri in x.related_institution.uri_set.all %} - {{ uri }} - {% endfor %} - -{% endfor %} \ No newline at end of file diff --git a/apis_core/apis_entities/templates/apis_entities/tei/partials/birth_death.xml b/apis_core/apis_entities/templates/apis_entities/tei/partials/birth_death.xml deleted file mode 100644 index 7bad6ac63..000000000 --- a/apis_core/apis_entities/templates/apis_entities/tei/partials/birth_death.xml +++ /dev/null @@ -1,73 +0,0 @@ -{% if object.start_date_written %} - - {{ object.start_date_written }} - {% for x in birth_rel %} - {% if FULL %} - - {{ x.related_place.name }} - {% for pl_label in x.related_place.label_set.all %} - {{ pl_label }} - {% endfor %} - {% if x.related_place.lat %} - {{ x.related_place.lat }} {{ x.related_place.lng }} - {% endif %} - {% for uri in x.related_place.uri_set.all %} - {{ uri }} - {% endfor %} - - {% else %} - - {{ x.related_place.name }} - {% if x.related_place.lat %} - {{ x.related_place.lat }} {{ x.related_place.lng }} - {% endif %} - - {% endif %} - {% endfor %} - -{% endif %} -{% if object.end_date_written %} - - {{ object.end_date_written }} - {% for x in death_rel %} - {% if FULL %} - - {{ x.related_place.name }} - {% for uri in x.related_place.uri_set.all %} - {{ uri }} - {% endfor %} - {% if x.related_place.lat %} - {{ x.related_place.lat }} {{ x.related_place.lng }} - {% endif %} - - {% else %} - - {{ x.related_place.name }} - {% if x.related_place.lat %} - {{ x.related_place.lat }} {{ x.related_place.lng }} - {% endif %} - - {% endif %} - {% endfor %} - -{% endif %} \ No newline at end of file diff --git a/apis_core/apis_entities/templates/apis_entities/tei/partials/collections.xml b/apis_core/apis_entities/templates/apis_entities/tei/partials/collections.xml deleted file mode 100644 index cf03bba8d..000000000 --- a/apis_core/apis_entities/templates/apis_entities/tei/partials/collections.xml +++ /dev/null @@ -1,5 +0,0 @@ - - {% for x in object.collection.all %} - {{ x.name }} - {% endfor %} - \ No newline at end of file diff --git a/apis_core/apis_entities/templates/apis_entities/tei/partials/events.xml b/apis_core/apis_entities/templates/apis_entities/tei/partials/events.xml deleted file mode 100644 index caf610b41..000000000 --- a/apis_core/apis_entities/templates/apis_entities/tei/partials/events.xml +++ /dev/null @@ -1,21 +0,0 @@ - - {% for x in object.personevent_set.all %} - - {{ x.relation_type }} - {{ x.related_event.name }} - {% for uri in x.related_event.uri_set.all %} - {{ uri }} - {% endfor %} - - {% endfor %} - \ No newline at end of file diff --git a/apis_core/apis_entities/templates/apis_entities/tei/tei.xml b/apis_core/apis_entities/templates/apis_entities/tei/tei.xml deleted file mode 100644 index 8af06ad99..000000000 --- a/apis_core/apis_entities/templates/apis_entities/tei/tei.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - {{ title }} - - - Publication Information - - - Information about the source - - - - serialized - - - - - Some text here. - {{ ent_type|safe }} - - - \ No newline at end of file
Publication Information
Information about the source
Some text here.