diff --git a/apis_core/apis_entities/templates/apis_entities/compare_base.html b/apis_core/apis_entities/templates/apis_entities/compare_base.html deleted file mode 100644 index 970f79736..000000000 --- a/apis_core/apis_entities/templates/apis_entities/compare_base.html +++ /dev/null @@ -1,16 +0,0 @@ - -{% include "reversion-compare/action_list_partial.html" %} - -{% if request.GET.version_id1 %} - {% include "reversion-compare/compare_partial.html" %} - {% include "reversion-compare/compare_links_partial.html" %} -{% endif %} diff --git a/apis_core/apis_entities/templates/apis_entities/detail_views/detail_generic.html b/apis_core/apis_entities/templates/apis_entities/detail_views/detail_generic.html deleted file mode 100644 index 6083bf202..000000000 --- a/apis_core/apis_entities/templates/apis_entities/detail_views/detail_generic.html +++ /dev/null @@ -1,260 +0,0 @@ -{% extends basetemplate|default:"base.html" %} -{% load static %} -{% load django_tables2 %} - -{% block title %}{{ object }}{% endblock %} - -{% block scriptHeader %} - {{ block.super }} - - {% if tei %} - - - {% endif %} - - {% if iiif %}{% endif %} - -{% endblock scriptHeader %} - -{% block content %} -
-
-
-
-
- - {% if object.get_prev_url %} -

- - chevron_left - -

- {% endif %} - -
-
-

- - {% if object.get_listview_url %} - - {{ entity_type }}s - - {% else %} - {{ entity_type }}s - {% endif %} - - {{ object }} - - {% block object-actions %} - - {% if user.is_authenticated %} - {% if object.get_edit_url %} - - edit - - {% endif %} - - {% if object.get_delete_url %} - | - - delete - - {% endif %} - - {% if object.get_duplicate_url %} - | - - content_copy - - {% endif %} - {% endif %} - - {% endblock object-actions %} - - {% block object-actions-extra %} - {% endblock object-actions-extra %} - -

-
-
- - {% if object.get_next_url %} -

- - chevron_right - -

- {% endif %} - -
-
-
-
-
-
-
-
-

- General Info - - - database - - -

-
-
- - {% block info-table %} - - {% for field, value in relevant_fields %} - - - - - {% endfor %} - - {% if object.kind %} - - - - - {% endif %} - - {% if object.start_date or object.end_date %} - - - - - {% endif %} - - {% if object.lat and object.lng %} - - - - - {% endif %} - -
{{ field.verbose_name }} - {{ value }} -
Type{{ object.kind }}
Date - - {% if object.start_date_written %} - {{ object.start_date_written }} - {% endif %} - - {% if object.end_date %}- {{ object.end_date_written }}{% endif %} - -
Lat/Lng{{ object.lat }} / {{ object.lng }}
- {% endblock info-table %} - - {% block info-metadata %} - - - {% if object.collections.all %} - - - - - {% endif %} - - - - - - - {% if object.notes %} - - - - - {% endif %} - - {% if object.references %} - - - - - {% endif %} - -
Collection(s) - {% for x in object.collection.all %}
  • {{ x }}
  • {% endfor %} -
    Uri(s) - {% for x in object.uri_set.all %} - {{ x }} -
    - {% endfor %} -
    Notes{{ object.notes }}
    References{{ object.references }}
    - {% endblock info-metadata %} - - {% block left-pane-additional %} - {% endblock left-pane-additional %} - -
    -
    -
    -
    -
    -
    -

    Relations

    -
    -
    - - {% block relations %} - {% for obj in right_card %} - - {% if obj.1.data|length > 0 %} -

    {{ obj.0 }}

    -
    {% render_table obj.1 %}
    - {% endif %} - - {% endfor %} - {% endblock relations %} - -
    -
    -
    -
    -
    -
    -
    - - {% if iiif %} -
    -
    -
    - {% endif %} - -
    -
    -{% endblock content %} - -{% block scripts %} - {{ block.super }} - - {% if tei %} - - {% endif %} - - {% if iiif %} - - {% endif %} - -{% endblock scripts %}