diff --git a/modules/setup/application/views/scripts/index/index.phtml b/modules/setup/application/views/scripts/index/index.phtml
index 9af37be7c..1c614a0a6 100644
--- a/modules/setup/application/views/scripts/index/index.phtml
+++ b/modules/setup/application/views/scripts/index/index.phtml
@@ -4,7 +4,7 @@ use Icinga\Web\Notification;
$pages = $wizard->getPages();
$finished = isset($success);
-$configPages = array_slice($pages, 2, count($pages) - 4, true);
+$configPages = array_slice($pages, 3, count($pages) - 1, true);
$currentPos = array_search($wizard->getCurrentPage(), $pages, true);
list($configPagesLeft, $configPagesRight) = array_chunk($configPages, count($configPages) / 2, true);
@@ -41,19 +41,32 @@ if ($notifications->hasMessages()) {
-
= mt('setup', 'Requirements', 'setup.progress'); ?>
+
= $this->translate('Modules', 'setup.progress'); ?>
1 ? ' complete' : (
$maxProgress > 1 ? ' visited' : (
$currentPos === 1 ? ' active' : ''
)
); ?>
+
+
+
+
= mt('setup', 'Requirements', 'setup.progress'); ?>
+ 2 ? ' complete' : (
+ $maxProgress > 2 ? ' visited' : (
+ $currentPos === 2 ? ' active' : ''
+ )
+ ); ?>
-
+
= mt('setup', 'Configuration', 'setup.progress'); ?>
@@ -64,7 +77,7 @@ if ($notifications->hasMessages()) {
?>
$page): ?>
1 ? ' active' : '')
+ $pos < $maxProgress ? ' visited' : ($currentPos > 2 ? ' active' : '')
); ?>
@@ -78,7 +91,7 @@ if ($notifications->hasMessages()) {
|
@@ -91,7 +104,7 @@ if ($notifications->hasMessages()) {
?>
$page): ?>
1 ? ' active' : '')
+ $pos < $maxProgress ? ' visited' : ($currentPos > 2 ? ' active' : '')
); ?>
@@ -104,26 +117,6 @@ if ($notifications->hasMessages()) {
|
-
-
= mt('setup', 'Modules', 'setup.progress'); ?>
- count($pages) - 2 ? ' complete' : (
- $maxProgress > count($pages) - 2 ? ' visited' : ($currentPos === count($pages) - 2 ? ' active' : '')
- ); ?>
-
-
-
-
= mt('setup', 'Summary', 'setup.progress'); ?>
-
-
-
= mt('setup', 'Finish', 'setup.progress'); ?>