{% extends "base.html" %} {% comment %} # SPDX-License-Identifier: AGPL-3.0-or-later {% endcomment %} {% load bootstrap %} {% load i18n %} {% load static %} {% block content %} {% include "app-header.html" with setup=True %} {% include "toolbar.html" %} {% if setup_state.value == 'up-to-date' %} {% trans "Application installed." %} {% elif not setup_current_operation %}

{% if setup_state.value == 'needs-setup' %} {% blocktrans trimmed %} Install this application? {% endblocktrans %} {% elif setup_state.value == 'needs-update' %} {% blocktrans trimmed %} This application needs an update. Update now? {% endblocktrans %} {% endif %}

{% csrf_token %} {% if package_manager_is_busy %} {% elif has_unavailable_packages %} {% elif package_conflicts and package_conflicts_action.value != 'ignore' %} {% endif %}
{% else %} {% if setup_current_operation.step == 'pre' %}
{% trans "Performing pre-install operation" %}
{% elif setup_current_operation.step == 'post' %}
{% trans "Performing post-install operation" %}
{% elif setup_current_operation.step == 'install' %} {% with transaction=setup_current_operation.transaction %}
{% blocktrans trimmed with package_names=transaction.package_names|join:", " status=transaction.status_string %} Installing {{ package_names }}: {{ status }} {% endblocktrans %}
{% blocktrans trimmed with percentage=transaction.percentage %} {{ percentage }}% complete {% endblocktrans %}
{% endwith %} {% endif %} {% endif %} {% endblock %}