<?php if (isset($component)) { $__componentOriginal7d9f6e0b9001f5841f72577781b2d17f = $component; } ?>
<?php $component = App\View\Components\Table::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('table'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Table::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'table-sm-responsive mb-0']); ?>
     <?php $__env->slot('thead', null, []); ?> 
        <th><?php echo app('translator')->get('app.title'); ?></th>
        <th><?php echo app('translator')->get('app.description'); ?></th>
        <th><?php echo app('translator')->get('superadmin.changeToPosition'); ?></th>
        <th><?php echo app('translator')->get('app.status'); ?></th>
        <th><?php echo app('translator')->get('superadmin.footerSettings.private'); ?>
            <i class="fa fa-question-circle" data-toggle="popover" data-placement="top"
               data-content="<?php echo e(__('superadmin.footerSettingPageType')); ?>" data-html="true"
               data-trigger="hover"></i>
        </th>
        <th><?php echo app('translator')->get('superadmin.footerSettings.pageLink'); ?></th>
        <th class="text-right"><?php echo app('translator')->get('app.action'); ?></th>
     <?php $__env->endSlot(); ?>

    <?php $__empty_1 = true; $__currentLoopData = $footer; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $footerMenu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
        <tr class="row<?php echo e($footerMenu->id); ?>">
            <td><?php echo e(ucwords($footerMenu->name)); ?></td>
            <td>
                <?php if(!is_null($footerMenu->description)): ?>
                    <?php echo str_limit($footerMenu->description, 50); ?>

                <?php else: ?>
                    <a target="_blank"
                       href="<?php echo e($footerMenu->external_link); ?>"><?php echo e($footerMenu->external_link); ?></a>
                <?php endif; ?>
            </td>
            <td>
                <?php if($footerMenu->type == 'footer'): ?>
                    <?php echo app('translator')->get('superadmin.footer.footer'); ?>
                <?php elseif($footerMenu->type == 'header'): ?>
                    <?php echo app('translator')->get('superadmin.header'); ?>
                <?php else: ?>
                    <?php echo app('translator')->get('superadmin.headerFooterBoth'); ?>
                <?php endif; ?>
            </td>

            <td>
                <?php if($footerMenu->status == 'active'): ?>
                    <i class="fa fa-circle mr-1 text-light-green f-10"></i><?php echo app('translator')->get('app.active'); ?>
                <?php else: ?>
                    <i class="fa fa-circle mr-1 text-red f-10"></i><?php echo app('translator')->get('app.inactive'); ?>
                <?php endif; ?>
            </td>
            <td>
                <?php if($footerMenu->private == 1): ?>
                    <?php echo app('translator')->get('app.yes'); ?>
                <?php else: ?>
                    <?php echo app('translator')->get('app.no'); ?>
                <?php endif; ?>
            </td>
            <td>


                <button type="button" data-clipboard-text="<?php echo e(route('front.page', $footerMenu->slug)); ?>"
                        data-toggle="tooltip"
                        data-clipboard-action="copy"
                        data-original-title="<?php echo app('translator')->get('superadmin.footerSettings.copyLink'); ?>"
                        class="btn-copy-cron btn btn-sm btn-secondary p-1 f-10">
                    <i class="fa fa-copy "></i>
                </button>
            </td>
            <td class="text-right">
                <div class="task_view">
                    <a class="task_view_more d-flex align-items-center justify-content-center edit-footer"
                       href="javascript:;" data-id="<?php echo e($footerMenu->id); ?>">
                        <i class="fa fa-edit icons mr-2"></i> <?php echo app('translator')->get('app.edit'); ?>
                    </a>
                </div>
                <div class="task_view mt-1 mt-lg-0 mt-md-0">
                    <a class="task_view_more d-flex align-items-center justify-content-center delete-table-row"
                       href="javascript:;" data-id="<?php echo e($footerMenu->id); ?>">
                        <i class="fa fa-trash icons mr-2"></i> <?php echo app('translator')->get('app.delete'); ?>
                    </a>
                </div>
            </td>
        </tr>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
        <?php if (isset($component)) { $__componentOriginal1cadea97ad834515c6e69c0ef44e7014 = $component; } ?>
<?php $component = App\View\Components\Cards\NoRecordFoundList::resolve(['colspan' => '6'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('cards.no-record-found-list'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Cards\NoRecordFoundList::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1cadea97ad834515c6e69c0ef44e7014)): ?>
<?php $component = $__componentOriginal1cadea97ad834515c6e69c0ef44e7014; ?>
<?php unset($__componentOriginal1cadea97ad834515c6e69c0ef44e7014); ?>
<?php endif; ?>
    <?php endif; ?>

 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal7d9f6e0b9001f5841f72577781b2d17f)): ?>
<?php $component = $__componentOriginal7d9f6e0b9001f5841f72577781b2d17f; ?>
<?php unset($__componentOriginal7d9f6e0b9001f5841f72577781b2d17f); ?>
<?php endif; ?>
<script src="<?php echo e(asset('vendor/jquery/clipboard.min.js')); ?>"></script>

<script>
        /* open add footer modal */
        $('.edit-footer').click(function () {
            var id = $(this).data('id');
            var lang = $('#language').val();

            var url = "<?php echo e(route('superadmin.front-settings.footer-settings.edit', ':id')); ?>?lang=" + lang;
            url = url.replace(':id', id);

            $(MODAL_LG + ' ' + MODAL_HEADING).html('...');
            $.ajaxModal(MODAL_LG, url);
        });

</script>
<?php /**PATH /home/u562907727/domains/recruitboards.com/public_html/resources/views/super-admin/front-setting/footer-setting/footer-data.blade.php ENDPATH**/ ?>