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

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

{% search_other %} {% endif %} {# Used below for the checkbox aria_labelledby #}

{% trans "Select video" %}

{% include "wagtailadmin/shared/pagination_nav.html" with items=videos %} {% else %} {% if is_searching %}

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

{% search_other %} {% else %} {% url 'wideo:add' as wideo_add_video_url %} {% with wideo_add_video_url|add:querystring as wideo_add_video_url %} {% if current_collection %}

{% blocktrans trimmed %}You haven't uploaded any videos in this collection. Why not upload one now?{% endblocktrans %}

{% else %}

{% blocktrans trimmed %}You haven't uploaded any videos. Why not upload one now?{% endblocktrans %}

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