{% extends "webui/entities/base.html" %} {% load bootstrap_pagination thumbnail webui_tags %} {% block title %}Children | {{ entity.id }}{% endblock %} {% block breadcrumbs %}{{ block.super }} {% breadcrumbs entity "Children" %} {% 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 %}

{% for model in children_models %} Add a {{ model }} {% endfor %}

{% endif %}{# conflicted #} {% endif %}{#username #} {% if page.object_list %}
{{ paginator.count }} items
{% bootstrap_paginate page range=10 show_first_last="true" %} {% for entity in page.object_list %} {% endfor %}
ID Title
{% if entity.signature_id %} {% thumbnail entity.signature_abs "100x100" crop="center" as img %} {% endthumbnail %} {% endif %} {{ entity.id }} {% if entity.title %} {{ entity.title }} {% endif %}
{% if paginator.num_pages > 1 %} {% bootstrap_paginate page range=10 show_first_last="true" %} {% endif %} {% else %}

This object has no child objects.

{% endif %}
{% endblock content %}