{% extends "base.html" %} {% comment %} # # This file is part of FreedomBox. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # {% endcomment %} {% load bootstrap %} {% load i18n %} {% load static %} {% block page_head %} {% if setup_helper.current_operation %} {% endif %} {% endblock %} {% block content %}

{% trans "Installation" %}: {{ setup_helper.module.short_description }} ({{ setup_helper.module.name }})

{% for paragraph in setup_helper.module.description %}

{{ paragraph|safe }}

{% endfor %} {% if setup_helper.module.manual_page %}

{% trans 'Learn more...' %}

{% endif %} {% include "clients.html" with clients=setup_helper.module.clients %} {% if not setup_helper.current_operation %}

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

{% csrf_token %} {% if package_manager_is_busy %} {% elif setup_helper.has_unavailable_packages %} {% endif %}
{% else %} {% if setup_helper.current_operation.step == 'pre' %}
{% trans "Performing pre-install operation" %}
{% elif setup_helper.current_operation.step == 'post' %}
{% trans "Performing post-install operation" %}
{% elif setup_helper.current_operation.step == 'install' %} {% with transaction=setup_helper.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 %} {% block page_js %} {% if setup_helper.current_operation %} {% endif %} {% endblock %}