@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 }}
{{ $textLesson->title }}
{!! nl2br($textLesson->content) !!}
@if(auth()->check())
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 }}

{{ $course->teacher->full_name }}

{{ trans('product.product_designer') }} @include('web.default.includes.webinar.rate',['rate' => $course->teacher->rates()])
@foreach($course->teacher->getBadges() as $userBadge)
{{ !empty($userBadge->badge_id) ? $userBadge->badge->title : $userBadge->title }}
@endforeach
{{ trans('public.profile') }} @if(!empty($course->teacher->hasMeeting())) {{ trans('public.book_a_meeting') }} @else @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