diff --git a/apis_core/api_renderers.py b/apis_core/api_renderers.py index 75b42fb..62f7ae1 100644 --- a/apis_core/api_renderers.py +++ b/apis_core/api_renderers.py @@ -23,9 +23,9 @@ def render(self, data, media_type=None, renderer_context=None): rel2 = re.match("^{}[a-z]*".format(r2), rel) if rel2: source = r - elif r.endswith("A"): + elif r.endswith("a"): source = r - elif r.endswith("B"): + elif r.endswith("b"): target = r rel2 = re.match("^[a-z]*?{}$".format(r2), rel) if rel2: diff --git a/apis_core/apis_entities/templates/apis_entities/detail_views/entity_detail_generic.html b/apis_core/apis_entities/templates/apis_entities/detail_views/entity_detail_generic.html index e481a2f..d2e5a1b 100644 --- a/apis_core/apis_entities/templates/apis_entities/detail_views/entity_detail_generic.html +++ b/apis_core/apis_entities/templates/apis_entities/detail_views/entity_detail_generic.html @@ -53,7 +53,7 @@
- Uri(s) + | + URI |
{% for x in object.uri_set.all %}
@@ -158,21 +158,20 @@
{% if object.collection.all %}
- Collection(s)
+ Sammlungen
|
{% for x in object.collection.all %}
- |
{% endfor %} +
- Notes
+ Anmerkungen
|
{{ object.notes }}
@@ -182,7 +181,7 @@ |
{% if object.references %}
- References
+ Belege
|
{{ object.references }}
@@ -195,13 +194,13 @@ |
{% endblock left-pane-additional %}
Relations+Beziehungen{% block relations %} {% for obj in right_card %} {% if obj.1.data|length > 0 %}{{ obj.0 }}-
+
{% render_table obj.1 %}
{% endif %}
diff --git a/apis_core/apis_entities/templates/apis_entities/detail_views/person_detail.html b/apis_core/apis_entities/templates/apis_entities/detail_views/person_detail.html
index c311261..63deb42 100644
--- a/apis_core/apis_entities/templates/apis_entities/detail_views/person_detail.html
+++ b/apis_core/apis_entities/templates/apis_entities/detail_views/person_detail.html
@@ -3,7 +3,7 @@
{% block info-table %}
|
---|