{{-- Name: Notice.list Author: JH2 Created: 2015-04-24 Updated by: AL Description: 2015-11-25 Notice.list is used to list notices in a partials.box Params: content_id - String, Unique string used by blade to prevent duplication of content when multiple instances of the same element is used header-title - String, This string will be used as header title (H5), this string will be visible when collapsed event - Array counter - Int, Number of new events text_single - String, Text for single event text_multiple - String, Text for multiple events filter - Array Example: @include('notice.list', [ 'content_id' => 'notice_list', 'header_title' => Lang::get('notice.notices'), 'event' => [ 'counter' => count($notices), 'text' => Lang::choice('notice.new_notice', count($notices)), ], 'data' => $notices, 'paginate' => true, ]) --}} @extends('partials.box') @section($content_id) @if((Route::currentRouteName() == 'admin.notice.index')) @if(isset($filter) && $filter == true)
{{ Lang::get('notice.no_new_notices') }}