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

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

{% if username and models_valid %} {% if 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 %}

Edit

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

No image

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