@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 $sessionRow) @include('design_1.web.courses.learning_page.includes.sidebar.tabs.contents.session',['session' => $sessionRow, 'type' => \App\Models\WebinarChapter::$chapterSession]) @endforeach @endif @if(!empty($textLessonsWithoutChapter) and count($textLessonsWithoutChapter)) @foreach($textLessonsWithoutChapter as $textLessonRow) @include('design_1.web.courses.learning_page.includes.sidebar.tabs.contents.text_lesson',['textLesson' => $textLessonRow, 'type' => \App\Models\WebinarChapter::$chapterTextLesson]) @endforeach @endif @if(!empty($filesWithoutChapter) and count($filesWithoutChapter)) @foreach($filesWithoutChapter as $fileRow) @include('design_1.web.courses.learning_page.includes.sidebar.tabs.contents.file',['file' => $fileRow, 'type' => \App\Models\WebinarChapter::$chapterFile]) @endforeach @endif @if(!empty($course->chapters) and count($course->chapters)) @include('design_1.web.courses.learning_page.includes.sidebar.tabs.contents.chapters') @endif @endif