{% extends "wagtailadmin/base.html" %} {% load i18n %} {% block titletag %}{% blocktrans with survey_page_title=survey_page.title|capfirst %}Submissions of {{ survey_page_title }}{% endblocktrans %}{% endblock %} {% block extra_js %} {{ block.super }} {% include "wagtailadmin/shared/datetimepicker_translations.html" %} {% endblock %} {% block content %}

{% blocktrans with survey_title=survey_page.title|capfirst %}Survey data {{ survey_title }}{% endblocktrans %}

{% if select_date_form %} {% endif %}
{% if submissions %} {% include "wagtailsurveys/list_submissions.html" %} {% include "wagtailadmin/shared/pagination_nav.html" with items=submissions is_searching=False linkurl='-' %} {# Here we pass an invalid non-empty URL name as linkurl to generate pagination links with the URL path omitted #} {% else %}

{% blocktrans with title=survey_page.title %}There have been no submissions of the '{{ title }}'.{% endblocktrans %}

{% endif %}
{% endblock %}