{% load i18n %} {% load static %} {% if concept %}

{{prefLabel.value}} ({{prefLabel.language}})

({{concept.nodetype}}) {% if concept.nodetype == 'Concept' or concept.nodetype == 'ConceptScheme'%} {% endif %}
{% trans "Labels" %} {% trans "Add label" %}
{% for value in labels %}
{% if labels|length > 1 %} {% endif %} {{value.value}} ({% if value.type == 'prefLabel' %}{% trans "preferred" %}, {% endif %}{% if value.type == 'altLabel' %}{% trans "alternate" %}, {% endif %}{% if value.type == 'hiddenLabel' %}{% trans "hidden" %}, {% endif %}{{value.language}})
{% endfor %}

{% trans "Notes" %} {% trans "Add note" %}
{% for value in concept.values %} {% if value.category == 'note' %}
{{value.type}} ({{value.language}})
{{value.value}}
{% endif %} {% endfor %}

{% trans "Broader/Narrower Concepts" %}
{% for path in concept_paths%} {% with forloop.last as show_children %}
{% for parent_concept in path %}
{% with ''|center:forloop.counter0 as range %} {% for i in range %}...{% endfor %} {% endwith %} {{parent_concept.label}}
{% if forloop.last %}{% with ''|center:forloop.counter as range %} {% if show_children%} {% for subconcept in concept.subconcepts %}
...{% for i in range %}...{% endfor %} {{subconcept.prefLabel.value}}
{% endfor %} {% endif %} {% endwith %}{% endif %} {% endfor %}
{% endwith %} {% endfor %}

{% trans "Related Concepts" %} {% trans "Add related concept" %}
{% for concept in concept.relatedconcepts %}
{{concept.prefLabel.value}} (preferred, {{concept.prefLabel.language}})
{% endfor %}

{% trans "Values" %} {% trans "Add value" %}
{% for value in concept.values %} {% if value.category == 'undefined' %}
{{value.type}} {{value.value}}
{% endif %} {% endfor %}

{% trans "Images" %} {% trans "Add images" %}
{% for value in concept.values %} {% if value.type == 'image' %}
{% endif %} {% endfor %}

{% trans "Identifiers" %}
{% trans "Arches ID:" %} {{concept.id}}
{% for value in concept.values %} {% if value.category == 'identifiers' %}
{{value.value}}
{% endif %} {% endfor %}
{% include "views/rdm/modals/value-form.htm" %}
{% include "views/rdm/modals/add-image-form.htm" %}
{% include "views/rdm/modals/manage-parent-form.htm" %}
{% include "views/rdm/modals/add-child-form.htm" %}
{% include "views/rdm/modals/import-concept-form.htm" %}
{% else %}

{% trans "Arches Reference Data Manager" %}

{{collection_count}}

{% trans "Collections" %}

{{scheme_count}}

{% trans "Schemes" %}

{{entitytype_count}}

{% trans "Entity Types" %}

{{concept_count}}

{% trans "Concepts" %}

{% endif %}