@extends('backend.layouts.app') @section('title', __('labels.backend.courses.title').' | '.app_name()) @push('after-styles') @endpush @section('content')

@lang('labels.backend.courses.title')

@lang('labels.backend.courses.fields.teachers') @foreach ($course->teachers as $singleTeachers) {{ $singleTeachers->name }} @endforeach
@lang('labels.backend.courses.fields.title') @if($course->published == 1) {{ $course->title }} @else {{ $course->title }} @endif
@lang('labels.backend.courses.fields.slug') {{ $course->slug }}
@lang('labels.backend.courses.fields.category') {{ $course->category->name }}
@lang('labels.backend.courses.fields.description') {!! $course->description !!}
@lang('labels.backend.courses.fields.price') {{ ($course->free == 1) ? trans('labels.backend.courses.fields.free') : $course->price.' '.$appCurrency['symbol'] }}
@lang('labels.backend.courses.fields.course_image') @if($course->course_image)@endif
@lang('labels.backend.lessons.fields.media_video') @if($course->mediaVideo != null )

{{$course->mediaVideo->url}}

@else

No Videos

@endif
@lang('labels.backend.courses.fields.start_date') {{ $course->start_date }}
@lang('labels.backend.courses.fields.published') {{ Form::checkbox("published", 1, $course->published == 1 ? true : false, ["disabled"]) }}
@lang('labels.backend.courses.fields.meta_title') {{ $course->meta_title }}
@lang('labels.backend.courses.fields.meta_description') {{ $course->meta_description }}
@lang('labels.backend.courses.fields.meta_keywords') {{ $course->meta_keywords }}
@if(count($courseTimeline) > 0)

@lang('labels.backend.courses.course_timeline')

@lang('labels.backend.courses.listing_note')

@lang('labels.backend.courses.timeline_description')

    @foreach($courseTimeline as $key=>$item) @if(isset($item->model) && $item->model->published == 1)
  • @if($item->model_type == 'App\Models\Test')

    @lang('labels.backend.courses.test')

    @elseif($item->model_type == 'App\Models\Lesson')

    @lang('labels.backend.courses.lesson')

    @endif @if($item->model)

    {{$item->model->title}}

    @endif
  • @endif @endforeach
@lang('strings.backend.general.app_back_to_list') @lang('labels.backend.courses.save_timeline')
@endif
@stop @push('after-scripts') @endpush