@php $showToggle = $showToggle ?? isset($settingKey); $enabled = (bool) ($enabled ?? false); $requiresEnabled = $requiresEnabled ?? true; $canConfigure = isset($canConfigure) ? (bool) $canConfigure : (! $requiresEnabled || $enabled); @endphp
{{ $message }}
@elseif($enabled){{ __('Feature is enabled.') }}
@else{{ __('You need to configure :feature correctly to enable this feature.', ['feature' => $title]) }}
@endif @if(!empty($help)){{ $help }}
@endif @if(($showConfigure ?? true) && !empty($configureHref)) @if($canConfigure) {{ $configureLabel ?? __('Configure Now') }} @else {{ $configureLabel ?? __('Configure Now') }} @endif @elseif(($showConfigure ?? true) && !empty($configureOnclick)) @if($canConfigure) @else {{ $configureLabel ?? __('Configure Now') }} @endif @endif