diff --git a/config/services.php b/config/services.php index f4dd507dc2..7cadaf4c05 100644 --- a/config/services.php +++ b/config/services.php @@ -59,4 +59,7 @@ 'template_branch' => env('SCREEN_TEMPLATE_BRANCH', 'spring-2024'), 'template_categories' => env('SCREEN_TEMPLATE_CATEGORIES', 'all'), ], + 'userway' => [ + 'account_id' => env('USERWAY_ACCOUNT_ID'), + ], ]; diff --git a/resources/views/auth/newLogin.blade.php b/resources/views/auth/newLogin.blade.php index 444241eb11..810048407c 100644 --- a/resources/views/auth/newLogin.blade.php +++ b/resources/views/auth/newLogin.blade.php @@ -10,6 +10,9 @@ {{ __('Login') }} - {{ __('ProcessMaker') }} + @if (hasPackage('package-accessibility')) + @include('package-accessibility::userway') + @endif diff --git a/resources/views/layouts/layout.blade.php b/resources/views/layouts/layout.blade.php index 1a8c999fbc..6126eb8f08 100644 --- a/resources/views/layouts/layout.blade.php +++ b/resources/views/layouts/layout.blade.php @@ -152,6 +152,11 @@ @endif @endforeach @endisset + +@if (hasPackage('package-accessibility')) + @include('package-accessibility::userway') +@endif + @yield('js') diff --git a/resources/views/layouts/minimal.blade.php b/resources/views/layouts/minimal.blade.php index 1d59ec8ca5..6197f89405 100644 --- a/resources/views/layouts/minimal.blade.php +++ b/resources/views/layouts/minimal.blade.php @@ -10,6 +10,9 @@ @yield('title',__('Welcome')) - {{ __('ProcessMaker') }} + @if (hasPackage('package-accessibility')) + @include('package-accessibility::userway') + @endif @yield('css')