{% set header_actions %} {% if start_over_url %} {{ _("Start over") }} {% endif %} {% if next_batch_url %} {{ _("Next batch") }} {% endif %} {% endset %} {# No subtitle for an empty batch ("Showing 0–0 of 0"): the empty-state panel below says why -- nothing left, or past the end of the pool. #} {% if faces %} {% call page_header(_("Unassigned Faces"), actions=header_actions) %} {% set first = (batch_start + 1 if faces else batch_start) | format_integer %} {% set last = batch_end | format_integer %} {% if filters.selected_include_ignored %} {% trans count=unassigned_face_count, total=unassigned_face_count|format_integer %}Showing {{ first }}–{{ last }} of {{ total }} unassigned and ignored face{% pluralize %}Showing {{ first }}–{{ last }} of {{ total }} unassigned and ignored faces{% endtrans %} {% else %} {% trans count=unassigned_face_count, total=unassigned_face_count|format_integer %}Showing {{ first }}–{{ last }} of {{ total }} unassigned face{% pluralize %}Showing {{ first }}–{{ last }} of {{ total }} unassigned faces{% endtrans %} {% endif %} {% endcall %} {% else %} {{ page_header(_("Unassigned Faces"), actions=header_actions) }} {% endif %}
{% if face_suggestions | length > 0 %} {% for faceSuggestion in face_suggestions %}
{{ faceSuggestion.suggestion_name }} {% trans count=faceSuggestion.faces|length, formatted_count=faceSuggestion.faces|length|format_integer %}{{ formatted_count }} face{% pluralize %}{{ formatted_count }} faces{% endtrans %} {% if faceSuggestion.date_start %} {% set date_start = faceSuggestion.date_start | format_date("date") %} {% set date_end = faceSuggestion.date_end | format_date("date") %} {{ date_start }}{% if date_end and date_end != date_start %} – {{ date_end }}{% endif %} {% endif %}
{% for person in faceSuggestion.people %} {% endfor %}
{% endfor %} {% endif %} {% if not faces and unassigned_face_count > 0 %} {# Paged past the last face; earlier ones are still in the pool. #}

{{ _("You've reached the end") }}

{{ _("There are no more faces after this point.") }} {{ _("Start over") }}

{% elif face_suggestions | length == 0 and unassigned_face_count > 0 %}

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

{{ _("Double-check the applied filters or decrease the similarity threshold.") }} {% if next_batch_url %}{{ _("Next batch") }}{% endif %}

{% endif %} {% if unassigned_face_count == 0 %}

{{ _("All Faces Assigned!") }}

{{ _("There isn't anything for you to do here.") }}

{% endif %}