@extends('admin.layouts.app') @push('libraries_top') @endpush @section('content')

{{ $pageTitle }}

@can('admin_pages_create') {{ trans('admin/main.add_new') }} @endcan
@foreach($pages as $page) @endforeach
{{ trans('admin/main.name') }} {{ trans('admin/main.link') }} {{ trans('admin/main.robot') }} {{ trans('admin/main.status') }} {{ trans('admin/main.created_at') }} {{ trans('admin/main.action') }}
{{ $page->name }} {{ $page->link }} @if($page->robot) {{ trans('admin/main.follow') }} @else {{ trans('admin/main.no_follow') }} @endif @if($page->status == 'publish') {{ trans('admin/main.published') }} @else {{ trans('admin/main.is_draft') }} @endif {{ dateTimeFormat($page->created_at, 'j M Y | H:i') }} @can('admin_pages_edit') @endcan @can('admin_pages_toggle') @if($page->status == 'draft') @else @endif @endcan @can('admin_pages_delete') @include('admin.includes.delete_button',['url' => getAdminPanelUrl().'/pages/'.$page->id.'/delete' , 'btnClass' => '']) @endcan
@endsection