Skip to content
Extraits de code Groupes Projets
Valider c46e29bd rédigé par Matthieu Napoli's avatar Matthieu Napoli
Parcourir les fichiers

Show the "Next" button on the top of the System check page only if there are no errors and warnings

parent 7142c6d1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -119,7 +119,7 @@ class Controller extends \Piwik\Plugin\ControllerAdmin ...@@ -119,7 +119,7 @@ class Controller extends \Piwik\Plugin\ControllerAdmin
$view->showNextStep = !$view->diagnosticReport->hasErrors(); $view->showNextStep = !$view->diagnosticReport->hasErrors();
// On the system check page, if all is green, display Next link at the top // On the system check page, if all is green, display Next link at the top
$view->showNextStepAtTop = $view->showNextStep; $view->showNextStepAtTop = $view->showNextStep && !$view->diagnosticReport->hasWarnings();
return $view->render(); return $view->render();
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter