{% extends "webui/entities/base.html" %} {% load thumbnail webui_tags %} {% block title %}{{ entity.id }}{% endblock %} {% block breadcrumbs %}{{ block.super }} {% breadcrumbs entity %} {% endblock breadcrumbs %} {% block content %}

{{ entity.id }}

{% if username and models_valid %} {% if entity.locked or collection.locked or collection.repo_behind or collection.repo_conflicted %}

{% if collection.repo_behind %}Editing is disabled until collection is synced.{% endif %} {% if collection.repo_conflicted %}Editing is disabled until merge conflict is resolved.{% endif %}

{% else %}

Delete Edit

{% endif %}{# conflicted #} {% endif %}{#username #} {% if entity.signature_abs %}
{% thumbnail entity.signature_abs "300x300" crop="center" as img %}
{{ entity.signature_id }} {% empty %}

No image

{% endthumbnail %}
{% endif %}
Collection

{{ collection.id }}: {% if collection.title %}{{ collection.title }}{% endif %}

{% for lv in entity.labels_values %} {% if lv.value %}
{{ lv.label }}
{{ lv.value|safe|linebreaks }}
{% endif %} {% endfor %}
{% if entity.model_def_fields_removed %}
{{ entity.model_def_fields_removed_msg }}
{% endif %} {% if entity.model_def_fields_added %}
{{ entity.model_def_fields_added_msg }}
{% endif %} {% if entity.model_def_commits_msg %}
{{ entity.model_def_commits_msg }}
{% endif %}
{% endblock content %} {% block footer %}{{ block.super }} {% if entity_unlock_url %}
unlock
{% endif %} {% endblock footer %} {% block javascript %}{{ block.super }} {% endblock %}