@extends('admin.layouts.app') @section('panel')
@lang('Main Pages')
@forelse($pdata as $k => $data) @empty @endforelse
@lang('Name') @lang('Slug') @lang('Action')
{{ __($data->name) }} {{ __($data->slug) }}
@if($data->is_default == 0) @endif
{{ __($emptyMessage) }}
@lang('Policy Pages') @lang('Add New')
@if(@$section->element->images) @endif @foreach($section->element as $k => $type) @if($k !='modal') @if($type=='text' || $type=='icon') @elseif($k == 'select') @endif @endif @endforeach @forelse($elements as $data) @if(@$section->element->images) @php $firstKey = collect($section->element->images)->keys()[0]; @endphp @endif @foreach($section->element as $k => $type) @if($k !='modal') @if($type == 'text' || $type == 'icon') @if($type == 'icon') @else @endif @elseif($k == 'select') @php $dataVal = @$section->element->$k->name; @endphp @endif @endif @endforeach @empty @endforelse
@lang('SL')@lang('Image'){{ __(keyToTitle($k)) }}{{keyToTitle(@$section->element->$k->name)}}@lang('Action')
1 @lang('Cookie Policy')
{{$loop->iteration + 1}} @php echo @$data->data_values->$k; @endphp{{__(@$data->data_values->$k)}}{{@$data->data_values->$dataVal}}
@if($section->element->modal) @php $images = []; if(@$section->element->images){ foreach($section->element->images as $imgKey => $imgs){ $images[] = getImage('assets/images/frontend/' . $key .'/'. @$data->data_values->$imgKey,@$section->element->images->$imgKey->size); } } @endphp @else @endif
{{ __($emptyMessage) }}
{{-- Add METHOD MODAL --}} @endsection @push('breadcrumb-plugins') @endpush @push('script') @endpush