@if( (empty($sessionsWithoutChapter) or !count($sessionsWithoutChapter)) and (empty($textLessonsWithoutChapter) or !count($textLessonsWithoutChapter)) and (empty($filesWithoutChapter) or !count($filesWithoutChapter)) and (empty($course->chapters) or !count($course->chapters)) )

{{ trans('update.learning_page_empty_content_title') }}

{{ trans('update.learning_page_empty_content_hint') }}

@else @if(!empty($sessionsWithoutChapter) and count($sessionsWithoutChapter)) @foreach($sessionsWithoutChapter as $session) @include('web.default.course.learningPage.components.content_tab.content',['item' => $session, 'type' => \App\Models\WebinarChapter::$chapterSession]) @endforeach @endif @if(!empty($textLessonsWithoutChapter) and count($textLessonsWithoutChapter)) @foreach($textLessonsWithoutChapter as $textLesson) @include('web.default.course.learningPage.components.content_tab.content',['item' => $textLesson, 'type' => \App\Models\WebinarChapter::$chapterTextLesson]) @endforeach @endif @if(!empty($filesWithoutChapter) and count($filesWithoutChapter)) @foreach($filesWithoutChapter as $file) @include('web.default.course.learningPage.components.content_tab.content',['item' => $file, 'type' => \App\Models\WebinarChapter::$chapterFile]) @endforeach @endif @if(!empty($course->chapters) and count($course->chapters)) @include('web.default.course.learningPage.components.content_tab.chapter') @endif @endif