{% extends "wagtailadmin/base.html" %} {% load static i18n %} {% block extra_css %} {{ block.super }} {% endblock %} {% block extra_js %} {{ block.super }} {% endblock %} {% block content %} {% translate "Seeder" as seeder_title %} {% include "wagtailadmin/shared/header.html" with title=seeder_title icon="pick" %}

{% blocktranslate with environment=environment|upper %}Environment: {{ environment }}{% endblocktranslate %}. {% translate "Access requires an explicit Seeder permission grant, including for superusers." %}

{% translate "Allowed hosts:" %} {% if allowed_hostnames %}{{ allowed_hostnames|join:", " }}{% else %}{% translate "all hosts" %}{% endif %}.

{% if report %}

{% translate "Latest generation result" %}

{% csrf_token %}
{% blocktranslate with created=page_counts.created skipped=page_counts.skipped failed=page_counts.failed %}View results: {{ created }} processed pages, {{ skipped }} with notes, {{ failed }} failed{% endblocktranslate %}{% if other_count %}; {% blocktranslate count count=other_count %}{{ count }} other message{% plural %}{{ count }} other messages{% endblocktranslate %}{% endif %}{% if duration is not None %} · {{ duration }} s{% endif %} {% for item in report %}{% if item.is_summary %}

{% if item.user_message %}{{ item.user_message }}{% else %}{% translate "See below which items were processed, skipped or failed." %}{% endif %}

{% endif %}{% endfor %}
{% for item in outcomes %} {% endfor %}
{% translate "Results of the latest generation" %}
{% if item.status == 'failed' %}{% translate "Failed" %}{% elif item.status == 'skipped' %}{% translate "With notes" %}{% else %}{% translate "Processed" %}{% endif %} {{ item.title }}{% if item.page_id %}{{ item.model }} · #{{ item.page_id }}{% endif %} {% if item.page_url %}{% translate "Open page" %}: {{ item.title }} ({% translate "new tab" %}){% endif %} {% if item.edit_url %}{% translate "Edit" %}: {{ item.title }}{% endif %}
{% blocktranslate count count=item.items|length %}{{ count }} message{% plural %}{{ count }} messages{% endblocktranslate %}
    {% for detail in item.items %}
  • {% if detail.user_message %}{{ detail.user_message }}{% elif detail.status == 'failed' %}{% translate "This item could not be processed. See the technical details for the cause." %}{% elif detail.status == 'skipped' %}{% translate "This item was skipped. See the technical details for the reason." %}{% else %}{% translate "Sample content created or updated." %}{% endif %}
    {% translate "Technical details" %}

    {{ detail.model }}: {{ detail.message }}

  • {% endfor %}
{% endif %}

{% translate "Selected page types" %}

{% translate "Creates a new sample page for each selected type within the selected subsite. Previously created pages are preserved." %}

{{ site_form.site_id.errors }}
{% if not has_sites %}

{% translate "No sites are available yet. Create a site in Wagtail before generating pages here." %}

{% elif not selected_site %}

{% translate "Choose a subsite first to view the available page types." %}

{% endif %}
{% csrf_token %}
{% translate "0 page types selected" %}
{% for model in page_models %} {% endfor %}
{% translate "Available page types" %}
{% translate "Page type" %}{% translate "Existing / maximum" %}{% translate "Availability" %}
{{ model.existing_count }} / {% if model.max_count is not None %}{{ model.max_count }}{% else %}{% translate "unlimited" %}{% endif %} {{ model.reason }}

{% translate "Tries every available block type, including nested blocks, within the allowed counts." %}

{% endblock %}