[TASK] Improve wording of upgrade wizards in Install Tool 82/57282/2
authorNicole Cordes <typo3@cordes.co>
Thu, 21 Jun 2018 10:01:08 +0000 (12:01 +0200)
committerMathias Brodala <mbrodala@pagemachine.de>
Thu, 21 Jun 2018 10:07:10 +0000 (12:07 +0200)
Change the misleading headling "Available wizards" and
switch color of progress bar to success if 100% reached.

Resolves: #85299
Releases: master, 8.7
Change-Id: I6e08da59313fe9efc51f3e4e061a4d3068cadc80
Reviewed-on: https://review.typo3.org/57282
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
typo3/sysext/install/Resources/Private/Partials/Action/Tool/UpgradeWizard/ListUpdates.html

index a879968..d5e6bb2 100644 (file)
@@ -7,15 +7,16 @@
 <hr />
 
 <h2>Wizards available</h2>
-<div class="progress">
-       <div class="progress-bar progress-bar-info progress-bar-striped" role="progressbar"
-                aria-valuenow="{wizardsPercentageDone}" aria-valuemin="0" aria-valuemax="100"
-                style="width: {wizardsPercentageDone}%;">
-               {wizardsPercentageDone}% Complete
-       </div>
-</div>
+<p>Progress of upgrade wizards:</p>
 <f:if condition="{availableUpdates}">
        <f:then>
+        <div class="progress">
+            <div class="progress-bar progress-bar-info progress-bar-striped" role="progressbar"
+                aria-valuenow="{wizardsPercentageDone}" aria-valuemin="0" aria-valuemax="100"
+                style="width: {wizardsPercentageDone}%;">
+                {wizardsPercentageDone}% Complete
+            </div>
+        </div>
                <f:for each="{availableUpdates}" as="availableUpdate">
                        <form method="post">
                                <f:render partial="Action/Common/HiddenFormFields" arguments="{_all}" />
                </f:for>
        </f:then>
        <f:else>
+        <div class="progress">
+            <div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar"
+                aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"
+                style="width: 100%;">
+                100% Complete
+            </div>
+        </div>
                <p>
                        <strong>No updates to perform!</strong>
                </p>