{% extends "django_qbe2/base.html" %} {% load i18n %} {% block breadcrumbs %}{% endblock %} {% block content %}

{% translate "Saved queries" %}

{% blocktranslate with count=page.total_limited %}{{ count }} matching rows{% endblocktranslate %}

{% if page.truncated %}

{% blocktranslate %}Results limited to {{ limit }} rows. Refine your conditions to narrow the report.{% endblocktranslate %}

{% endif %} {% if not page.total_limited %}

{% translate "Edit the report to adjust its conditions." %} {% translate "Your report's access policy also limits which rows you can see." %}

{% endif %}
{% for label in page.labels %}{% endfor %}{% for row in table_rows %}{% for cell in row %}{% endfor %}{% empty %}{% endfor %}
{% translate "Report results" %}
{{ label }}
{{ cell|default_if_none:"—" }}
{% translate "No rows match your conditions." %}
{% csrf_token %} {% if saved_query %}{% endif %} {% if page.page > 1 %}{% endif %} {% blocktranslate with current=page.page total=page.num_pages %}Page {{ current }} of {{ total }}{% endblocktranslate %} {% if page.page < page.num_pages %}{% endif %}
{% url 'django_qbe2:export' as export_url %} {% if export_url %}
{% csrf_token %}

{% blocktranslate %}Exports all matching rows, up to {{ limit }} rows, in the same order.{% endblocktranslate %}

{% endif %}

{% translate "Save query" %}

{% translate "Save columns, conditions and ordering, without storing result rows. New queries are private until you share them." %}

{% csrf_token %} {{ save_form.as_div }} {% if owns_saved_query %}{% endif %}
{% if owns_saved_query %}

{% translate "Name and sharing" %}

{% endif %}
{% endblock %}