{# Include Template Child Categories #}
{% zb_concat "djangocms_zb_repository/" instance.template "/includes/category.html" as template %}
{% include template with parent_cons=forloop.counter %}
{% endfor %}
{% endif %}
{# File Column #}
{% if request.toolbar.edit_mode_active and perms.zb_repository.add_file and perms.zb_repository.add_fileextended and files %}
{% trans "Search results for" %} "{{ request.GET.search }}".
{% endif %}
{# Include Template File List #}
{% if files %}
{% zb_concat "djangocms_zb_repository/" instance.template "/includes/file_list.html" as template %}
{% include template %}
{% else %}
{% if not request.GET.search %}
{% trans "Select a category with files." %}
{% endif %}
{% endif %}
{% endblock %}
{% comment %}
{{ instance.category }}
{{ instance.pagination }} #Number of items per page
{{ instance.target }}
{{ files }}
{{ categories }}
# files list variables:
{{ file_extended }} object
{{ description }}
{{ file_url }}
# file_extended list variables:
{{ title }}
{{ category }} object
{{ published }}
# categories list variables:
{{ name }}
{{ parent }}
{{ published }}
{{ category_set }}
# pagination list variables:
{{ info_publications.has_previous }}
{{ info_publications.has_next }}
{{ info_publications.previous_page_number }}
{{ info_publications.next_page_number }}
{{ info_publications.number }}
{{ paginator.page_range }}
{{ paginator.num_pages }}
{% endcomment %}