{% extends "admin/base_site.html" %} {% load i18n %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block nav-breadcrumbs %} {% endblock %} {% block content %}

{{ action|capfirst }} {{ release.package.name }} {{ release.version }}

{{ status_guidance.title }}

{{ status_guidance.message }}

{% csrf_token %} {% if dry_run %} {% endif %}
{% if resume_available %}
{% csrf_token %} {% if dry_run %} {% endif %}
{% endif %} {% if started %}
{% endif %}
{% if manual_git_push %}

{% blocktrans with step=manual_git_push.step %}Manual git push required to continue "{{ step }}".{% endblocktrans %}

{% trans 'Run' %} {{ manual_git_push_command }} {% trans 'then confirm or retry the push below.' %}

{% if manual_git_push_error %}

{{ manual_git_push_error }}

{% endif %}
{% csrf_token %} {% if dry_run %} {% endif %}
{% csrf_token %} {% if dry_run %} {% endif %}
{% endif %}
    {% for step in step_states %}
  1. {{ step.icon }} {{ step.name }}
  2. {% endfor %}
{% if test_pruning_required %}

{% trans "Test pruning evidence required" %}

{% trans "Enter the pull request URL that prunes the lowest-value tests for this release." %}

{% if test_pruning_error %}

{{ test_pruning_error }}

{% endif %}
{% csrf_token %}
{% endif %} {% if not done %} {% if github_credentials_missing or github_token_using_stored %}
{% if github_token_using_stored %}

🔑 {% trans "GitHub token" %}

{% trans "Using your stored token," %} {% trans "click here to edit." %}

{% else %}

🔑 {% trans "GitHub token required" %}

{% if github_token_required %}

{% trans "Publishing paused. Enter a GitHub token to continue. The token is used for this publish session unless you choose to store it." %}

{% else %}

{% trans "Enter a GitHub token before starting the publish. The token is used for this publish session unless you choose to store it." %}

{% endif %}
{% csrf_token %}
{% endif %}
{% endif %} {% endif %} {% if warnings %}

⚠️ {% trans "Manual follow-up required" %}

    {% for warning in warnings %}
  • {{ warning.message }}
    {% if warning.followups %}
      {% for note in warning.followups %}
    • {{ note }}
    • {% endfor %}
    {% endif %}
  • {% endfor %}
{% endif %} {% if paused and started and not done and not error %} {% if not github_token_required %} {% if publish_pending and publish_workflow_url %}

{% trans 'Publishing paused. Press Continue to resume after approving the workflow below:' %}

{{ publish_workflow_url }}

{% else %}

{% trans 'Publishing paused. Press Continue to resume.' %}

{% endif %} {% endif %} {% endif %} {% with show_publish_pending_ui=publish_pending and paused and started and not done and not error %} {% if show_publish_pending_ui %}

{% trans "Waiting for GitHub Actions publish to complete. We'll keep checking and notify you when it's done." %}

{% endif %} {% if fixtures %}

{% trans 'Fixture changes' %}

{% for fx in fixtures %} {% endfor %}
{% trans 'Fixture' %} {% trans 'Entries' %} {% trans 'Models' %}
{{ fx.path }} {{ fx.count }} {{ fx.models|join:', ' }}
{% endif %} {% if dirty_files %}

{% trans 'Uncommitted changes detected' %}

{% trans 'The repository must be clean before continuing. Review the files below, then discard or commit them.' %}

{% for file in dirty_files %} {% endfor %}
{% trans 'Status' %} {% trans 'Path' %}
{{ file.status_label }} {% if file.status_label != file.status %} ({{ file.status }}) {% endif %} {{ file.path }}
{% csrf_token %}
{% csrf_token %}
{% if dirty_commit_error %}

{{ dirty_commit_error }}

{% endif %}
{% endif %} {% if error %}

{{ error }}

{% trans 'Resolve the issue above, then continue to retry this step without restarting.' %}

{% include "core/partials/release_ack_error_form.html" %} {% elif not done %} {% if started and next_step is not None %} {% endif %} {% if started %} {% if start_pending %}

{% trans 'Starting publish…' %}

{% elif paused %} {# Paused message shown above #} {% else %}

{% trans 'Running…' %}

{% endif %} {% else %}

{% trans 'Waiting to start' %}

{% endif %} {% else %}

{% trans 'All steps completed.' %}

{% if release.pypi_url %}

{{ release.pypi_url }}

{% endif %} {% if release.github_url %}

{{ release.github_url }}

{% endif %}
{% if cert_log %}

{% blocktrans %}Certification logged in {{ cert_log }}{% endblocktrans %}

{% endif %} {% endif %}

{% trans 'Restarts' %}: {{ restart_count }}

{% trans 'Logs' %}

{% if show_log %} {% if log_content %}
{{ log_content }}
{% else %}

{% trans 'Logs will appear here as steps progress.' %}

{% endif %} {% else %}

{% trans 'Logs will appear here after publishing starts.' %}

{% endif %}
{% if show_publish_pending_ui %} {% endif %} {% endwith %} {% endblock %}