Skip to content

Commit 9179bf1

Browse files
ark99le0n4eg
authored andcommitted
MAGETWO-57579: [Backport] - [Github] Upgrade does not put store in maintenance mode. #3191
1 parent 3699a92 commit 9179bf1

File tree

2 files changed

+6
-29
lines changed

2 files changed

+6
-29
lines changed

setup/view/magento/setup/create-backup.phtml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@
4646
role="form"
4747
>
4848
<fieldset class="form-fieldset">
49-
<div class="message message-warning">
50-
<span class="message-text">
51-
<strong>We’ll put your store in maintenance mode to protect your shoppers during the {{type}}.
52-
After this point, you cannot cancel the {{type}}.</strong>
53-
</span>
54-
</div>
5549
<div class="row form-row">
5650
<div class="col-m-3">
5751
<label class="form-label">

setup/view/magento/setup/start-updater.phtml

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -19,36 +19,19 @@
1919

2020
<h2 class="page-title">{{$state.current.header}}</h2>
2121

22-
<div ng-show="maintenanceCalled && maintenanceStatus">
23-
<span class="readiness-check-icon icon-success-round"></span>
24-
<div class="readiness-check-content">
25-
<h3 class="readiness-check-title">Store in maintenance mode</h3>
26-
<p>
27-
Your store is in maintenance mode and will automatically
28-
return online after the {{type}}.
29-
</p>
30-
</div>
31-
</div>
22+
<div class="message message-warning">
23+
<span class="message-text">
24+
<strong>We will take your store offline to protect shoppers during the duration of the {{type}} activity.</strong>
25+
<div ng-show="type == 'upgrade'">Before you start upgrade, you can optionally <a href="http://devdocs.magento.com/guides/v2.1/comp-mgr/trouble/cman/maint-mode.html">configure a custom maintenance page</a> that informs shoppers the store is offline. (Magento provides a default page.)</div>
3226

33-
<div ng-show="maintenanceCalled && !maintenanceStatus">
34-
<span class="readiness-check-icon icon-failed-round"></span>
35-
<div class="readiness-check-content">
36-
<h3 class="readiness-check-title">Check store maintenance availability</h3>
37-
<p>
38-
Cannot put your store in maintenance mode. Please fix that, and try again.
39-
</p>
40-
<p>
41-
Error received from server:
42-
<br> {{errorMsg}}
43-
</p>
44-
</div>
27+
</span>
4528
</div>
4629

4730
<form
4831
novalidate
4932
name="start-updater"
50-
ng-show="maintenanceCalled == maintenanceStatus"
5133
>
34+
5235
<div ng-repeat="package in packages">
5336
<div>We're ready to {{type}} {{package.name}}{{package.version ? ' to ' + package.version : ''}}. </div>
5437
</div>

0 commit comments

Comments
 (0)