@extends(getTemplate() . '.layouts.app') @push('styles_top') @endpush @section('content') {{--
{{ $course->title }}
@if (!empty($activeSpecialOffer)) @include('web.default.course.special_offer') @endif
--}}
@php $percent = $course->getProgress(); @endphp
{{-- mobile text on image --}}

{{ $course->title }}

@if (!empty($course->category)) {{ trans('public.in') }} {{ $course->category->title }} @endif
@include('web.default.includes.webinar.rate', ['rate' => $course->getRate()]) ({{ $course->reviews->pluck('creator_id')->count() }} {{ trans('public.ratings') }})
{{ trans('public.created_by') }} {{ $course->teacher->full_name }}
@if ($hasBought or $percent)
@if ($hasBought and (!$course->isWebinar() or $course->isProgressing())) {{ trans('public.course_learning_passed', ['percent' => $percent]) }} @elseif(!is_null($course->capacity)) {{ $course->getSalesCount() }}/{{ $course->capacity }} {{ trans('quiz.students') }} @else {{ trans('public.course_learning_passed', ['percent' => $percent]) }} @endif
@endif
{{-- desktop text on image --}}

{{ $course->title }}

@if (!empty($course->category)) {{ trans('public.in') }} {{ $course->category->title }} @endif
@include('web.default.includes.webinar.rate', ['rate' => $course->getRate()]) ({{ $course->reviews->pluck('creator_id')->count() }} {{ trans('public.ratings') }})
{{ trans('public.created_by') }} {{ $course->teacher->full_name }}
@if ($hasBought or $percent)
@if ($hasBought and (!$course->isWebinar() or $course->isProgressing())) {{ trans('public.course_learning_passed', ['percent' => $percent]) }} @elseif(!is_null($course->capacity)) {{ $course->getSalesCount() }}/{{ $course->capacity }} {{ trans('quiz.students') }} @else {{ trans('public.course_learning_passed', ['percent' => $percent]) }} @endif
@endif
@if ( !empty(getFeaturesSettings('frontend_coupons_display_type')) and getFeaturesSettings('frontend_coupons_display_type') == 'before_content' and !empty($instructorDiscounts) and count($instructorDiscounts)) @foreach ($instructorDiscounts as $instructorDiscount) @include('web.default.includes.discounts.instructor_discounts_card', [ 'discount' => $instructorDiscount, 'instructorDiscountClassName' => 'mt-35', ]) @endforeach @endif {{-- mobile sidebar --}}
{{-- end mobile sidebar --}}
{{-- non-tabbed content --}} {{--
@include(getTemplate().'.course.tabs.information')

{{ trans('product.course_content') }} ({{ $webinarContentCount }})

@include(getTemplate().'.course.tabs.content')

{{ trans('product.reviews') }} ({{ $course->reviews->count() > 0 ? $course->reviews->pluck('creator_id')->count() : 0 }})

@include(getTemplate().'.course.tabs.reviews')
--}} @if ( !empty(getFeaturesSettings('frontend_coupons_display_type')) and getFeaturesSettings('frontend_coupons_display_type') == 'after_content' and !empty($instructorDiscounts) and count($instructorDiscounts)) @foreach ($instructorDiscounts as $instructorDiscount) @include('web.default.includes.discounts.instructor_discounts_card', [ 'discount' => $instructorDiscount, 'instructorDiscountClassName' => 'mt-35', ]) @endforeach @endif
{{-- Ads Bannaer --}} @if (!empty($advertisingBanners) and count($advertisingBanners))
@foreach ($advertisingBanners as $banner) @endforeach
@endif {{-- ./ Ads Bannaer --}}

{{ trans('product.report_the_course') }}

{{ trans('product.report_modal_hint') }}

@include('web.default.course.share_modal') @include('web.default.course.buy_with_point_modal') @endsection @push('scripts_bottom') @if ( !empty($course->creator) and !empty($course->creator->getLiveChatJsCode()) and !empty(getFeaturesSettings('show_live_chat_widget'))) @endif @endpush