@extends('backend.admin-master') @section('site-title') {{__('All Pages')}} @endsection @section('style') @endsection @section('content')
|
{{__('ID')}} | {{__('Title')}} | {{__('Date')}} | {{__('Status')}} | {{__('Action')}} | @foreach($pages as $data)
---|---|---|---|---|---|
|
{{$data->id}} | {{$data->title}} | {{$data->created_at->diffForHumans()}} | @if($data->status === 'publish') {{__('Publish')}} @else {{__('Draft')}} @endif |
|