From 7a4277196658451b3b6e72a93b2dea4db7b3b419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Nilsved?= Date: Fri, 8 May 2020 14:53:10 +0200 Subject: [PATCH] Display booleans and numbers nicely Closes #156 --- resources/views/dashboard/laravelConfig.blade.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/resources/views/dashboard/laravelConfig.blade.php b/resources/views/dashboard/laravelConfig.blade.php index b5e7156c..adf23454 100644 --- a/resources/views/dashboard/laravelConfig.blade.php +++ b/resources/views/dashboard/laravelConfig.blade.php @@ -6,7 +6,17 @@ @foreach(['app.name', 'app.url', 'app.env', 'app.debug', 'mail.from.address', 'mail.from.name', 'auth.defaults.guard', 'kontour.guard', 'session.cookie', 'session.lifetime', 'database.default', 'cache.default', 'filesystems.default'] as $configKey)
{{ $configKey }}
-
{{ config($configKey) }}
+
+ @if(config($configKey) === true) + true + @elseif(config($configKey) === false) + false + @elseif(is_numeric(config($configKey))) + {{ config($configKey) }} + @else + {{ config($configKey) }} + @endif +
@endforeach