@extends('main') @section('title', " Suite: $suite->title") @section('stylesheets') @endsection @section('Breadcrumbs') {!! Breadcrumbs::render('viewmainsuites', $suite) !!} @endsection @section('content')
@if($suite->author)

{{$suite->author->name}}

@elseif($suite->admin)

{{$suite->admin->name}} (Admin)

@else

There is no authors!

@endif
{{$suite->title}}

{{ date('j M', strtotime($suite->created_at)) }}

{{ date('Y', strtotime($suite->created_at)) }}

{{ $suite->suiteid}}

id

{{ $suite->category->name}}

{{Lang::trans('messages.topic')}}

{{Lang::trans('messages.info')}}
{{$suite->short_description}}
{{Lang::trans('messages.target')}}
{{$suite->target}}
{{Lang::trans('messages.description')}}
{{$suite->description}}
{{Lang::trans('messages.experiences')}}
{{$suite->experiences}}
{{Lang::trans('messages.learning')}}
{{$suite->learning_styles}}
{{Lang::trans('messages.prereq')}}
{{$suite->prerequisites}}
{{Lang::trans('messages.responsible')}}
@if($suite->author) {{$suite->author->name}} @elseif($suite->admin) {{$suite->admin->name}} @endif
{{Lang::trans('messages.license')}}
{{$suite->license->name}}
{{Lang::trans('messages.tags')}}
@foreach ($suite->tags as $tag) {{$tag->name}} @endforeach
{{Lang::trans('messages.available')}}
@foreach ($languages as $lang) {{$lang[0]['language']}} @endforeach

{{$suite->microunits->count()}}

{{Lang::choice('messages.microunits', $suite->microunits->count())}}

@foreach ($suite->microunits as $microunit)
@if($microunit->author) User Image {{$microunit->author->name}} {{Lang::trans('messages.published')}}: {{ date('j M Y', strtotime($microunit->created_at)) }} @elseif ($microunit->admin) User Image {{$microunit->admin->name}} {{Lang::trans('messages.published')}}: {{ date('j M Y', strtotime($microunit->created_at)) }} @else no author @endif
Photo
{{$microunit->muid}}
@endforeach
@endsection @section('javascripts') @endsection