{% load i18n %}
{% if video_files %}
{% if is_searching %}
{% blocktrans count counter=video_files.paginator.count %}
There is one match
{% plural %}
There are {{ counter }} matches
{% endblocktrans %}
{% else %}
{% trans "Latest video" %}
{% endif %}
{% include "wagtail_video/video/list.html" with choosing=1 %}
{% include "wagtailadmin/shared/pagination_nav.html" with items=video_files is_ajax=1 %}
{% else %}
{% blocktrans %}Sorry, no video files match "{{ query_string }}"{% endblocktrans %}