{% load i18n wagtailadmin_tags %} {% if video_files %} {% if is_searching %}

{% blocktrans count counter=video_files|length %} There is one match {% plural %} There are {{ counter }} matches {% endblocktrans %}

{% search_other %} {% endif %} {% include "wagtail_video/video/list.html" %} {% include "wagtailadmin/shared/pagination_nav.html" with items=video_files is_searching=is_searching linkurl="wagtail_video:index" %} {% else %} {% if is_searching %}

{% blocktrans %}Sorry, no video files match "{{ query_string }}"{% endblocktrans %}

{% search_other %} {% else %} {% url 'wagtail_video:add' as wagtail_video_add_video_url %} {% if current_collection %}

{% blocktrans %}You haven't uploaded any video files in this collection. You can upload video files.{% endblocktrans %}

{% else %}

{% blocktrans %}You haven't uploaded any video files. You can upload video files.{% endblocktrans %}

{% endif %} {% endif %} {% endif %}