@yield('styles')
{{ trans('panel.site_title') }}
{{ trans('panel.site_title') }}
{{ trans('global.toggleNavigation') }}
@if(count(config('panel.available_languages', [])) > 1)
{{ strtoupper(app()->getLocale()) }}
@foreach(config('panel.available_languages') as $langLocale => $langName)
{{ strtoupper($langLocale) }} ({{ $langName }})
@endforeach
@endif
@php($alertsCount = \Auth::user()->userUserAlerts()->where('read', false)->count()) @if($alertsCount > 0)
{{ $alertsCount }}
@endif
@if(count($alerts = \Auth::user()->userUserAlerts()->withPivot('read')->limit(10)->orderBy('created_at', 'ASC')->get()->reverse()) > 0) @foreach($alerts as $alert)
@if($alert->pivot->read === 0)
@endif {{ $alert->alert_text }} @if($alert->pivot->read === 0)
@endif
@endforeach @else
{{ trans('global.no_alerts') }}
@endif
@include('partials.menu')
@if(session('message'))
{{ session('message') }}
@endif @if($errors->count() > 0)
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
@endif @yield('content')
{{ csrf_field() }}
@yield('scripts')