{{-- Name: partials.box.blade Author: JH2 Created: 2015-04-24 Description: This is the default responsive box for content, this box will fit both in the main div and sidebars. Updated by: Björn Hjorth Description: Changed the _user obj to the Auth obj Params: notice - Required number title - Required string filter - Array Example: @include('Notice.list', [ 'content_id' => 'unique_identifier', 'header_title' => 'Notiser', 'event' => [ 'counter' => 1, 'text_single' => 'Ny notis', 'text_multiple' => 'Nya notiser', ], ]) --}}
{{ @$header_title }}
{{-- Check for events, if there is atleast one event we will show it --}} @if((@$event && $event['counter'] !== 0)) {{ $event['counter'] }} @endif
@if (isset($tooltip)) @endif
@yield($content_id.'ibox') {{-- Check if current session state minimized is true --}} @if (!Auth::guest()) @if( array_key_exists('gui_partialsbox_'.$content_id.'_minimized', Auth::user()->getSession()) && Auth::user()->getSession()['gui_partialsbox_'.$content_id.'_minimized'] === 'true')
@else
@endif @elseif (isset($content_id))
@endif
@yield($content_id) {{ @$content?: '' }}