@extends('layouts.backend',['page_title'=>'Pages']) @section('title')@parent - {{ trans('product.globals.categories') }} @stop @section('content-header')

{{ trans('backend.newsCategory') }}

@if(auth()->user()->role_id == 1 || auth()->user()->can('news.create')) {{trans('backend.Add New')}} @endif
@stop @section('content')
@if(1!=1)@endif @if($pages && count($pages) > 0) @foreach($pages as $key=>$page) @if(1!=1)@endif @endforeach @else @endif
{{ trans('backend.fields.title') }} {{ trans('backend.fields.status') }} {{ trans('backend.action') }}
{!! $page->name !!} @if($page->status)
{{ trans('backend.Active') }}
@else
{{ trans('backend.Not Active') }}
@endif
@if(auth()->user()->role_id == 1 || auth()->user()->can('news.show')) @endif @if(auth()->user()->role_id == 1 || auth()->user()->can('news.edit')) @endif @if(auth()->user()->role_id == 1 || auth()->user()->can('news.destroy')) id) }}' class="btn btn-danger btn-sm delete" data-toggle="tooltip" title="{{trans('backend.Delete')}}"> @endif
{{trans('backend.no records founded')}}
{{$pages->render()}}
@stop @section('scripts') @stop