From a7e942cdc970284ab2977afa806be9dfba8e30b9 Mon Sep 17 00:00:00 2001
From: Johannes Meyer
Date: Thu, 30 Oct 2014 10:37:51 +0100
Subject: [PATCH] Show a warning on the first page in case the user already
configured web2
refs #7163
---
application/views/scripts/form/setup-welcome.phtml | 8 ++++++++
public/css/icinga/setup.less | 5 +++++
2 files changed, 13 insertions(+)
diff --git a/application/views/scripts/form/setup-welcome.phtml b/application/views/scripts/form/setup-welcome.phtml
index a270cc7ad..76947fbe6 100644
--- a/application/views/scripts/form/setup-welcome.phtml
+++ b/application/views/scripts/form/setup-welcome.phtml
@@ -1,6 +1,7 @@
getConfigDir(), '/') . '/setup.token';
. t('insights', 'setup.welcome.screenshots.label') . ''
); ?>
+
+ = t(
+ 'You\'ve already completed the installation of Icinga Web 2. Note that most of your configuration'
+ . ' files will be overwritten in case you\'ll re-configure Icinga Web 2 using this wizard!'
+ ); ?>
+
= t(
'This wizard will guide you through the installation of Icinga Web 2. Once completed and successfully'
. ' finished you are able to log in and to explore all the new and stunning features!'
); ?>
+