{!! \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')
@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')