{% extends "base.html" %} {% load crispy_forms_tags i18n translations %} {% block breadcrumbs %} {% endblock breadcrumbs %} {% block content %}

{% blocktranslate with host=config.hostname %}Migrate to GitHub App on {{ host }}{% endblocktranslate %}

{% translate "Connect accounts and review components as a site administrator, or leave these steps to the project administrators. Connecting an account requires workspace management rights." %}

{% if destinations %}

{% translate "Projects moved to these workspaces:" %}

{% endif %}

{% translate "Projects without a workspace" %} {% documentation_icon "admin/workspaces" "workspaces" %}

{% if not can_create %} {% if billing_enabled %}

{% translate "Workspace creation on this site is managed through billing." %}

{% else %}

{% translate "You do not have permission to create workspaces." %}

{% endif %} {% elif project_pagination.page or move_form.is_bound %}

{% translate "Project administrators become owners of their own project's new workspace. If you choose a shared workspace, you can delegate ownership after creating it. Owners can manage all GitHub connections in their workspace." %}

{% csrf_token %} {{ move_form.non_field_errors }}
{{ move_form.projects.label }} {{ move_form.projects.errors }} {% for checkbox in move_form.projects %}
{{ checkbox.tag }}
{% endfor %}
{{ move_form.destination|as_crispy_field }} {{ move_form.name|as_crispy_field }}
{% else %}

{% translate "No projects without a workspace match your search." %}

{% endif %} {% include "vcs/snippets/github_pagination.html" with pagination=project_pagination label=_("Projects without a workspace") %}

{% translate "Workspaces without a connection" %}

{% if unconnected %} {% include "vcs/snippets/github_pagination.html" with pagination=unconnected_pagination label=_("Workspaces without a connection") %} {% else %}

{% translate "No unconnected workspaces match your search." %}

{% endif %}

{% translate "Connected workspaces" %}

{% if connected %} {% include "vcs/snippets/github_pagination.html" with pagination=connected_pagination label=_("Connected workspaces") %} {% else %}

{% translate "No connected workspaces match your search." %}

{% endif %} {% if has_connected_workspaces %} {% translate "Migrate all eligible components across workspaces" %} {% endif %}
{% endblock content %}