{% set header_actions %} {{ _("Cancel") }}
{% endset %} {% call page_header(_("Choose photos for %(name)s", name=selected.name), actions=header_actions) %} {{ ngettext("%(num)d photo matches", "%(num)d photos match", match_count) }} {{ _("Set the filters. Photos that match later are sent too, and photos that stop matching are removed.") }} {% endcall %} {% if not has_filters %}

{{ _("Choose at least one filter: sending your whole library isn't offered here.") }}

{% endif %} {% if preview %}
{% for media_item in preview %}
{% if media_item.media_type == 'video' %} {{ _('Video from %(date)s', date=media_item.date_taken | format_date('date')) }} {% else %} {{ _('Photo from %(date)s', date=media_item.date_taken | format_date('date')) }} {% endif %}
{{ media_item.date_taken | format_date("date") if media_item.date_taken else _("Unknown date") }}
{% endfor %}
{% else %}

{{ _("No photos found") }}

{{ _("Try adjusting your filters.") }}

{% endif %}