mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 11:26:04 +01:00
restore tool - but not curretly working
This commit is contained in:
3
themes/grav/js/admin.min.js
vendored
3
themes/grav/js/admin.min.js
vendored
@@ -5258,9 +5258,8 @@ var SafeUpgrade = /*#__PURE__*/function () {
|
||||
if (status === 'success' || status === 'finalized') {
|
||||
var manifest = result.manifest || {};
|
||||
var target = result.version || manifest.target_version || '';
|
||||
var backup = manifest.backup_path || '';
|
||||
var identifier = manifest.id || '';
|
||||
this.steps.result.html("\n <div class=\"safe-upgrade-result success\">\n <h3>".concat(r('SAFE_UPGRADE_RESULT_SUCCESS', target, 'Grav upgraded to v%s'), "</h3>\n ").concat(identifier ? "<p>".concat(r('SAFE_UPGRADE_RESULT_MANIFEST', identifier, 'Snapshot reference: %s'), "</p>") : '', "\n ").concat(backup ? "<p>".concat(r('SAFE_UPGRADE_RESULT_ROLLBACK', backup, 'Rollback snapshot stored at: %s'), "</p>") : '', "\n </div>\n "));
|
||||
this.steps.result.html("\n <div class=\"safe-upgrade-result success\">\n <h3>".concat(r('SAFE_UPGRADE_RESULT_SUCCESS', target, 'Grav upgraded to v%s'), "</h3>\n ").concat(identifier ? "<p>".concat(r('SAFE_UPGRADE_RESULT_MANIFEST', identifier, 'Snapshot reference: <code>%s</code>'), "</p>") : '', "\n <p>").concat(t('SAFE_UPGRADE_RESULT_HINT', 'Restore snapshots from Tools → Restore Grav.'), "</p>\n </div>\n "));
|
||||
this.switchStep('result');
|
||||
external_jQuery_default()('[data-gpm-grav]').remove();
|
||||
if (target) {
|
||||
|
||||
Reference in New Issue
Block a user