Current File : /var/www/vinorea/modules/autoupgrade/views/templates/steps/home.html.twig |
{#**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*#}
{% extends "@ModuleAutoUpgrade/layouts/step-content.html.twig" %}
{% block page_class %}welcome-page{% endblock %}
{% block title %}
<h2>{{ 'Welcome to PrestaShop Update Assistant'|trans({}) }}</h2>
{% endblock %}
{% block content %}
<form class="welcome-page__card-list" action="" data-route-to-submit="{{ form_route_to_submit }}" id="next_page" name="next_page">
{% include "@ModuleAutoUpgrade/components/radio-card.html.twig" with {
checked: false,
title: 'Update your store'|trans({}),
message: 'Update your store to benefit from the latest improvements, bug fixes and security patches.'|trans({}),
radioName: form_fields.route_choice,
radioValue: form_options.update_value,
required: true
} %}
{% include "@ModuleAutoUpgrade/components/radio-card.html.twig" with {
checked: false,
title: 'Restore from a backup'|trans({}),
message: 'Use this feature if the update failed or if your store or a module is no longer working properly.'|trans({}),
disabled: false,
radioName: form_fields.route_choice,
radioValue: form_options.restore_value,
disabled: empty_backup,
disabledMessage: empty_backup ? 'No backup file found on your store.'|trans({}) : null,
required: true,
badgeLabel: "",
badgeStatus: "",
} %}
</form>
{% endblock %}
{% block buttons_inner %}
<button class="btn btn-lg btn-primary" type="submit" form="next_page" disabled>
{{ 'Get started'|trans({}) }}
</button>
{% endblock %}