forked from PrestaShop/autoupgrade
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
222 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{% include "@ModuleAutoUpgrade/components/radio-card.html.twig" with { | ||
{{ include('@ModuleAutoUpgrade/components/radio-card.html.twig', { | ||
radioCardId: form_options.local_value, | ||
radioName: form_fields.channel, | ||
radioValue: form_options.local_value, | ||
checked: current_values.channel == form_options.local_value, | ||
title: "Local archive"|trans({}), | ||
message: "Save the archive file of the version you want to update to in the following directory: /admin/autoupgrade/download/"|trans({}), | ||
title: 'Local archive'|trans({}), | ||
message: 'Save the archive file of the version you want to update to in the following directory: /admin/autoupgrade/download/'|trans({}), | ||
archiveCard: true, | ||
enableRequirementsCheck: true, | ||
archiveFiles: local_archives.zip, | ||
xmlFiles: local_archives.xml, | ||
requirements: local_requirements | ||
} %} | ||
}) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{% include "@ModuleAutoUpgrade/components/radio-card.html.twig" with { | ||
{{ include('@ModuleAutoUpgrade/components/radio-card.html.twig', { | ||
radioCardId: form_options.online_value, | ||
radioName: form_fields.channel, | ||
radioValue: form_options.online_value, | ||
checked: current_values.channel == form_options.online_value, | ||
required: true, | ||
message: "The maximum version of PrestaShop to which you can upgrade your store, based on its PHP version."|trans({}), | ||
message: 'The maximum version of PrestaShop to which you can upgrade your store, based on its PHP version.'|trans({}), | ||
archiveCard: false, | ||
enableRequirementsCheck: true, | ||
badgeLabel: next_release.badge_label, | ||
badgeStatus: next_release.badge_status, | ||
releaseNote: next_release.release_note, | ||
requirements: online_requirements, | ||
title: "PrestaShop %version%"|trans({'%version%': next_release.version}), | ||
} %} | ||
title: 'PrestaShop %version%'|trans({'%version%': next_release.version}), | ||
}) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<div id="{{ page_parent_id }}" class="{{ ps_version }}"> | ||
{% if page == "home" %} | ||
{% include "@ModuleAutoUpgrade/pages/home.html.twig" %} | ||
{% elseif page == "update" %} | ||
{% include "@ModuleAutoUpgrade/pages/update.html.twig" %} | ||
{% elseif page == "rollback" %} | ||
{% include "@ModuleAutoUpgrade/pages/rollback.html.twig" %} | ||
{% if page == 'home' %} | ||
{{ include('@ModuleAutoUpgrade/pages/home.html.twig') }} | ||
{% elseif page == 'update' %} | ||
{{ include('@ModuleAutoUpgrade/pages/update.html.twig') }} | ||
{% elseif page == 'rollback' %} | ||
{{ include('@ModuleAutoUpgrade/pages/rollback.html.twig') }} | ||
{% endif %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{% extends "@ModuleAutoUpgrade/layouts/page.html.twig" %} | ||
{% extends '@ModuleAutoUpgrade/layouts/page.html.twig' %} | ||
|
||
{% block stepper %}{% endblock %} | ||
|
||
{% block container_inner %} | ||
{% include "@ModuleAutoUpgrade/steps/home.html.twig" %} | ||
{{ include('@ModuleAutoUpgrade/steps/home.html.twig') }} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{% extends "@ModuleAutoUpgrade/layouts/page.html.twig" %} | ||
{% extends '@ModuleAutoUpgrade/layouts/page.html.twig' %} | ||
|
||
{% block container_inner %} | ||
{% include "@ModuleAutoUpgrade/steps/restore.html.twig" %} | ||
{{ include('@ModuleAutoUpgrade/steps/restore.html.twig') }} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{% extends "@ModuleAutoUpgrade/layouts/page.html.twig" %} | ||
{% extends '@ModuleAutoUpgrade/layouts/page.html.twig' %} | ||
|
||
{% block container_inner %} | ||
{% if step.code == "update-options" %} | ||
{% include "@ModuleAutoUpgrade/steps/update-options.html.twig" %} | ||
{% elseif step.code == "backup" %} | ||
{% include "@ModuleAutoUpgrade/steps/backup.html.twig" %} | ||
{% elseif step.code == "update" %} | ||
{% include "@ModuleAutoUpgrade/steps/update.html.twig" %} | ||
{% elseif step.code == "post-update" %} | ||
{% include "@ModuleAutoUpgrade/steps/post-update.html.twig" %} | ||
{% if step.code == 'update-options' %} | ||
{{ include('@ModuleAutoUpgrade/steps/update-options.html.twig') }} | ||
{% elseif step.code == 'backup' %} | ||
{{ include('@ModuleAutoUpgrade/steps/backup.html.twig') }} | ||
{% elseif step.code == 'update' %} | ||
{{ include('@ModuleAutoUpgrade/steps/update.html.twig') }} | ||
{% elseif step.code == 'post-update' %} | ||
{{ include('@ModuleAutoUpgrade/steps/post-update.html.twig') }} | ||
{% else %} | ||
{% include "@ModuleAutoUpgrade/steps/version-choice.html.twig" %} | ||
{{ include('@ModuleAutoUpgrade/steps/version-choice.html.twig') }} | ||
{% endif %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.