Browse Source

Merge pull request #374 from 1day2die/development

Fix wording in errormessage
Dennis 3 years ago
parent
commit
f02d14707d
2 changed files with 10 additions and 3 deletions
  1. 7 1
      resources/views/admin/settings/index.blade.php
  2. 3 2
      resources/views/home.blade.php

+ 7 - 1
resources/views/admin/settings/index.blade.php

@@ -19,7 +19,13 @@
         </div>
     </section>
     <!-- END CONTENT HEADER -->
-
+    @if(!file_exists(public_path()."/install/install.lock"))
+        <div class="callout callout-danger">
+            <h4>{{ __('The installer is not locked!') }}</h4>
+            <p>{{ __('please create a file called "install.lock" in your "dashboard/public/installer" directory!') }}</p>
+            <p>{{ __('otherwise no settings will be loaded!') }}</p>
+        </div>
+    @endif
     <!-- MAIN CONTENT -->
     <section class="content">
         <div class="container-fluid">

+ 3 - 2
resources/views/home.blade.php

@@ -21,8 +21,9 @@
     @if(!file_exists(public_path()."/install/install.lock") && Auth::User()->role == "admin")
         <div class="callout callout-danger">
             <h4>{{ __('The installer is not locked!') }}</h4>
-            <p>{{ __('please create a file called "installer.lock" in your "dashboard/public/installer" directory!') }}
-            </p>
+            <p>{{ __('please create a file called "install.lock" in your "dashboard/public/installer" directory!') }}</p>
+            <p>{{ __('otherwise no settings will be loaded!') }}</p>
+
         </div>
     @endif
     <!-- MAIN CONTENT -->