{!! \Helper::cspMetaTag() !!}
@yield('title') - {{ $mailbox->name }}
@action('layout.head') @php try { @endphp {!! Minify::stylesheet(\Eventy::filter('stylesheets', array('/css/fonts.css', '/css/bootstrap.css', '/css/style.css', \Module::getPublicPath(EUP_MODULE).'/css/style.css'))) !!} @php } catch (\Exception $e) { // Try...catch is needed to catch errors when activating a module and public symlink not created for module. \Helper::logException($e); } @endphp @yield('stylesheets') @yield('eup_stylesheets')
{{ __('Toggle Navigation') }}
@if (Eventy::filter('layout.header_logo', ''))
@endif
{{ $mailbox->name }}
{{ \EndUserPortal::getMailboxParam($mailbox, 'text_submit') }}
{{ __('My Tickets') }}
@if (!EndUserPortal::authCustomer())
{{ __('Log In') }}
@else
{{ EndUserPortal::authCustomer()->getMainEmail() }}
{{ __('Log Out') }}
{{ csrf_field() }}
@endif {{--@if (\EndUserPortal::getLocales($mailbox))
{{ \Helper::getLocaleData(\EndUserPortal::getLocale())['name'] ?? '' }}
@foreach(\EndUserPortal::getLocales($mailbox) as $locale)
{{ \Helper::getLocaleData($locale)['name'] ?? '' }}
@endforeach
@endif--}}
@yield('content')
@action('layout.body_bottom') {{-- Scripts --}} @php try { @endphp {!! Minify::javascript(\Eventy::filter('eup.javascripts', ['/js/jquery.js', '/js/bootstrap.js', '/js/lang.js', '/storage/js/vars.js', '/js/laroute.js', '/js/parsley/parsley.min.js', '/js/parsley/i18n/'.strtolower(Config::get('app.locale')).'.js', \Module::getPublicPath(EUP_MODULE).'/js/laroute.js', \Module::getPublicPath(EUP_MODULE).'/js/main.js', '/js/main.js'])) !!} @php } catch (\Exception $e) { // To prevent 500 errors on update. // Also catches errors when activating a module and public symlink not created for module. if (strstr($e->getMessage(), 'vars.js')) { \Artisan::call('freescout:generate-vars'); } \Helper::logException($e); } @endphp @yield('eup_javascripts')