@extends(getTemplate().'.layouts.app') @section('content') {{ $textLesson->title }} {{ trans('public.lesson') }} {{ $textLesson->order }}/{{ count($course->textLessons) }} | {{ trans('public.study_time') }}: {{ $textLesson->study_time }} {{ trans('public.min') }} {{ trans('product.course') }}: {{ $course->title }} {!! nl2br($textLesson->content) !!} @if(auth()->check()) {{ trans('public.i_passed_this_lesson') }} checkPassedItem()) ? 'checked' : '' }}> @endif @if(!empty($course->textLessons) and count($course->textLessons)) {{ trans('public.previous_lesson') }} @if(!empty($nextLesson)) {{ trans('public.next_lesson') }} @endif @endif {{ $course->teacher->full_name }} {{ trans('product.product_designer') }} @include('web.default.includes.webinar.rate',['rate' => $course->teacher->rates()]) @foreach($course->teacher->getBadges() as $userBadge) @endforeach {{ trans('public.profile') }} @if(!empty($course->teacher->hasMeeting())) {{ trans('public.book_a_meeting') }} @else {{ trans('public.book_a_meeting') }} @endif @if(!empty($textLesson->attachments) and count($textLesson->attachments)) {{ trans('public.attachments') }} @foreach($textLesson->attachments as $attachment) {{ $attachment->file->title }} @endforeach @endif @if(!empty($course->textLessons) and count($course->textLessons)) {{ trans('public.course_sessions') }} @foreach($course->textLessons as $lesson) {{ $loop->iteration .'- '. $lesson->title }} @endforeach @endif @endsection @push('scripts_bottom') @endpush