@extends('admin.layout.main') @section('content')
@if(auth()->user()->dostup !== 5)
@else
@endif
@if($errors->any())
{!! trans('admin.msg_data_error') !!} @foreach ($errors->all() as $error) {{ $error }} @endforeach
@else @if(session()->has('message-valid'))
{!! session()->get('message-valid') !!}
@endif @if(session()->has('message-unvalid'))
{!! session()->get('message-unvalid') !!}
@endif @if(session()->has('message-warning'))
{!! session()->get('message-warning') !!}
@endif @endif
{{-- --}} {{-- --}} @if(auth()->user()->dostup == 1) @endif @foreach ($posts as $row) {{-- --}} {{-- --}} @if(auth()->user()->dostup == 1) @endif @endforeach
{{ trans('admin.post_title') }} {{ trans('admin.post_language') }} {{ trans('admin.post_category') }} {{ trans('admin.view_global_actions') }}
@if ($row->image) @else @endif {{ $row->languages->first()->pivot->title }} @if ($row->show_in_homepage == 1) @else @endif @if (count($row->galleriesHeader) > 0) @else @endif @if (count($row->galleriesImage) > 0) @else @endif
@if ( $row->visible ) @else @endif
@stop