Create SUGGESTION_BOX_ENABLED variable (in .env)
MODIFY
.env.example
.env.example
@@ -31,3 +31,5 @@ MAIL_ENCRYPTION=null
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
+
+SUGGESTION_BOX_ENABLED=false

MODIFY
.env.travis
.env.travis
@@ -31,3 +31,5 @@ MAIL_ENCRYPTION=null
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
+
+SUGGESTION_BOX_ENABLED=false

MODIFY
app/Providers/AppServiceProvider.php
app/Providers/AppServiceProvider.php
@@ -16,6 +16,7 @@ class AppServiceProvider extends ServiceProvider
$view->with([
'userName' => Auth::check() ? Auth::user()->name : null,
'currency' => Auth::check() ? session('space') ? session('space')->currency->symbol : '-' : null,
+ 'suggestionBoxEnabled' => env('SUGGESTION_BOX_ENABLED', false),
'versionNumber' => $versionNumber
]);
});

MODIFY
resources/views/layout.blade.php
resources/views/layout.blade.php
@yield('body')
@if (auth()->check())
<div class="text-center mb-3">
+ @if ($suggestionBoxEnabled)
<a class="fs-sm" href="/ideas/create">{{ __('general.know_how_to_make_this_app_better') }}?</a> &middot; {{ $versionNumber }}
+ @else
+ {{ $versionNumber }}
+ @endif
</div>
@endif
</div>

Create SUGGESTION_BOX_ENABLED variable (in .env)