diff --git a/resources/views/widgets/statamic-env.blade.php b/resources/views/widgets/statamic-env.blade.php index 5d73a57..fc50718 100644 --- a/resources/views/widgets/statamic-env.blade.php +++ b/resources/views/widgets/statamic-env.blade.php @@ -1,6 +1,6 @@ -
-
-

+ + +

{{ $env_icon }} @if ($env_type !== 'undefined') {!! __('statamic_environment::widget.viewing_version', ['label' => $env_label, 'app_name' => "{$app_name}"]) !!} @@ -8,58 +8,58 @@ {{ __('statamic_environment::widget.unusual_env_detected', ['env' => $env]) }} @endif

-
-
+ -@if ($show_details) -
-
-
- Setting - Value -
-
-
-
- {{ __('statamic_environment::widget.app_name') }} - {{ $app_name }} -
-
- {{ __('statamic_environment::widget.app_env') }} - {{ $env }} -
-
- {{ __('statamic_environment::widget.app_debug') }} - {{ env('APP_DEBUG') == 'true' ? __('statamic_environment::widget.true') : __('statamic_environment::widget.false') }} -
-
- {{ __('statamic_environment::widget.app_url') }} - {{ $app_url }} -
-
- {!! !empty(env('MAIL_DRIVER')) ? __('statamic_environment::widget.mail_driver') : __('statamic_environment::widget.mail_mailer') !!} - {{ !empty(env('MAIL_DRIVER')) ? env('MAIL_DRIVER') : env('MAIL_MAILER') }} -
-
- {{ __('statamic_environment::widget.mail_from_address') }} - {{ $mail_from_address }} -
-
- {{ __('statamic_environment::widget.statamic_git_enabled') }} - {{ env('STATAMIC_GIT_ENABLED') == 'true' ? __('statamic_environment::widget.true') : __('statamic_environment::widget.false') }} -
-
- {{ __('statamic_environment::widget.statamic_git_push') }} - {{ env('STATAMIC_GIT_PUSH') == 'true' ? __('statamic_environment::widget.true') : __('statamic_environment::widget.false') }} -
-
- STATAMIC_STATIC_CACHING_STRATEGY - {{ env('STATAMIC_STATIC_CACHING_STRATEGY') ?? 'null' }} -
-
- DEBUGBAR_ENABLED - {{ env('DEBUGBAR_ENABLED') == 'true' ? __('statamic_environment::widget.true') : __('statamic_environment::widget.false') }} -
-
-
-@endif + @if ($show_details) + + + + Setting + Value + + + + {{ __('statamic_environment::widget.app_name') }} + {{ $app_name }} + + + {{ __('statamic_environment::widget.app_env') }} + {{ $env }} + + + {{ __('statamic_environment::widget.app_debug') }} + {{ env('APP_DEBUG') == 'true' ? __('statamic_environment::widget.true') : __('statamic_environment::widget.false') }} + + + {{ __('statamic_environment::widget.app_url') }} + {{ $app_url }} + + + {!! !empty(env('MAIL_DRIVER')) ? __('statamic_environment::widget.mail_driver') : __('statamic_environment::widget.mail_mailer') !!} + {{ !empty(env('MAIL_DRIVER')) ? env('MAIL_DRIVER') : env('MAIL_MAILER') }} + + + {{ __('statamic_environment::widget.mail_from_address') }} + {{ $mail_from_address }} + + + {{ __('statamic_environment::widget.statamic_git_enabled') }} + {{ env('STATAMIC_GIT_ENABLED') == 'true' ? __('statamic_environment::widget.true') : __('statamic_environment::widget.false') }} + + + {{ __('statamic_environment::widget.statamic_git_push') }} + {{ env('STATAMIC_GIT_PUSH') == 'true' ? __('statamic_environment::widget.true') : __('statamic_environment::widget.false') }} + + + STATAMIC_STATIC_CACHING_STRATEGY + {{ env('STATAMIC_STATIC_CACHING_STRATEGY') ?? 'null' }} + + + DEBUGBAR_ENABLED + {{ env('DEBUGBAR_ENABLED') == 'true' ? __('statamic_environment::widget.true') : __('statamic_environment::widget.false') }} + + + + + @endif +