@extends('layout.front.app') @section('title', $tag) @section('content') @if(!$versions->isEmpty()) @yield('title') {{ formatDate($versions[0]->created_at) }} {{$versions[0]->translation->title}} {{$versions[0]->translation->description}} {{ $versions[0]->writer->name }} {{ __('front.for_more') }} @endif {{ __('front.select_version_type') }} @php $VersionsCats = \App\Models\Versioncategory::with('translation')->orderBy('sort','asc')->get(); @endphp {{__('front.all_results')}} {{$tag}} @foreach ($VersionsCats as $VS) {{$VS->translation->name}} @endforeach @foreach ($versions as $key => $row) @if ($key == 0) @php continue @endphp @endif {{ formatDate($row->created_at) }} {{$row->translation->title}} {{$row->translation->description}} {{$row->category->name}} {{ $row->writer->name }} {{__('front.view_full_article')}} @endforeach @include('front.events') {{ __('front.latest_versions') }} @foreach ($latestNews as $item) {{ formatDate($item->created_at) }} {{$item->translation->title}} @endforeach {{ __('front.most_watched') }} @foreach ($mostWatched as $most) {{ formatDate($most->created_at) }} {{$most->translation->title}} @endforeach {!! $versions->links() !!} @endsection @section('js') @endsection
{{$versions[0]->translation->description}}
{{ __('front.select_version_type') }}
{{$row->translation->description}}
{{ __('front.latest_versions') }}
{{ __('front.most_watched') }}