{% extends "base.html" %} {% load compress crispy_forms_tags humanize i18n icons permissions static translations %} {% block extra_script %} {% compress js %} {% endcompress %} {% endblock extra_script %} {% block breadcrumbs %} {% path_object_breadcrumbs object %} {% endblock breadcrumbs %} {% block nav_pills %} {% endblock nav_pills %} {% block content %} {% perm 'screenshot.delete' object as user_can_delete_screenshot %} {% perm 'screenshot.edit' object as user_can_edit_screenshot %}
{{ screenshot_summary.total|intcomma }}
{% translate "Screenshots" %}
{{ screenshot_summary.unassigned|intcomma }}
{{ screenshot_summary.source_strings_with_screenshots|intcomma }}
{{ screenshot_summary.source_strings_without_screenshots|intcomma }}
{{ search_form.q }}
{% if search_form.q.errors %}
{{ search_form.q.errors }}
{% endif %}
{% if search_form.sort_by.errors %}
{{ search_form.sort_by.errors }}
{% endif %}
{% if object_list %}
{% for screenshot in object_list %}

{{ screenshot.name }}

{{ screenshot.translation.language }}
{% if screenshot.repository_filename %}
{{ screenshot.repository_filename }}
{% endif %}
{% include "screenshots/screenshot_show.html" %}
{% with count=screenshot.strings_count %} {% endwith %}
{% if user_can_edit_screenshot or user_can_delete_screenshot %} {% endif %}
{% endfor %}
{% else %}

{% translate "No screenshots found." %}

{% endif %} {% include "paginator.html" %}
{% if add_form %}
{% csrf_token %}

{% translate "Add new screenshot" %}

{{ add_form|crispy }}
{% endif %}
{% endblock content %}