From b1d5489130d8843edc1dfe0273d1bbc198ed9e01 Mon Sep 17 00:00:00 2001 From: 1Day Date: Tue, 25 Jan 2022 07:29:48 +0100 Subject: [PATCH] add message if install.lock isnt created --- resources/views/admin/settings/index.blade.php | 8 +++++++- resources/views/home.blade.php | 5 +++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/resources/views/admin/settings/index.blade.php b/resources/views/admin/settings/index.blade.php index e4999ebb..10ec7ec9 100644 --- a/resources/views/admin/settings/index.blade.php +++ b/resources/views/admin/settings/index.blade.php @@ -19,7 +19,13 @@ - + @if(!file_exists(public_path()."/install/install.lock")) +
+

{{ __('The installer is not locked!') }}

+

{{ __('please create a file called "install.lock" in your "dashboard/public/installer" directory!') }}

+

{{ __('otherwise no settings will be loaded!') }}

+
+ @endif
diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 99dca90a..d9158a98 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -21,8 +21,9 @@ @if(!file_exists(public_path()."/install/install.lock") && Auth::User()->role == "admin")

{{ __('The installer is not locked!') }}

-

{{ __('please create a file called "installer.lock" in your "dashboard/public/installer" directory!') }} -

+

{{ __('please create a file called "install.lock" in your "dashboard/public/installer" directory!') }}

+

{{ __('otherwise no settings will be loaded!') }}

+
@endif