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

{% blocktrans count counter=video.paginator.count %} There is one match {% plural %} There are {{ counter }} matches {% endblocktrans %}

{% search_other %} {% else %}

{% trans "Latest videos" %}

{% endif %} {% include "wagtailadmin/shared/pagination_nav.html" with items=videos is_searching=is_searching query_string=query_string linkurl="wagtailvideos:index" %} {% else %} {% if is_searching %}

{% blocktrans %}Sorry, no videos match "{{ query_string }}"{% endblocktrans %}

{% search_other %} {% else %} {% url 'wagtailvideos:add_multiple' as wagtailvideos_add_video_url %} {% if current_collection %}

{% blocktrans %}You've not uploaded any videos in this collection. Why not add one now?{% endblocktrans %}

{% else %}

{% blocktrans %}You've not uploaded any videos. Why not add one now?{% endblocktrans %}

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