ok

Mini Shell

Direktori : /home2/selectio/www/fms-worksuite/storage/framework/views/
Upload File :
Current File : /home2/selectio/www/fms-worksuite/storage/framework/views/3a46b93efe4aa5894eb8017273759f4a.php

<style>
    .link-length {
        word-break: break-all;
    }
</style>
<div class="col-lg-12 col-md-12 ntfcn-tab-content-left w-100 p-0">
    <div class="row">
        <div class="col-lg-12">
            <div class="table-responsive">
                <?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-bordered']); ?>
                     <?php $__env->slot('thead', null, []); ?> 
                        <th><?php echo app('translator')->get('modules.customLinkSettings.linkTitle'); ?></th>
                        <th><?php echo app('translator')->get('modules.customLinkSettings.url'); ?></th>
                        <th><?php echo app('translator')->get('modules.customLinkSettings.canBeViewedBy'); ?></th>
                        <th><?php echo app('translator')->get('modules.customLinkSettings.status'); ?></th>
                        <th class="text-right"><?php echo app('translator')->get('app.action'); ?></th>
                     <?php $__env->endSlot(); ?>

                    <?php $__empty_1 = true; $__currentLoopData = $custom_links; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $custom_link): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                        <tr class="row<?php echo e($custom_link->id); ?>">
                            <td><?php echo e($custom_link->link_title); ?></td>
                            <td class="link-length col-md-5">
                                <a target="_blank" href= <?php echo e($custom_link->url); ?>><?php echo e($custom_link->url); ?></a>
                            </td>

                            <?php
                                $viewed = json_decode($custom_link->can_be_viewed_by);
                            ?>
                            <td>
                            <?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if(in_array($item->id, $viewed)): ?>
                                    <?php echo e($item->display_name); ?> <br>
                                <?php endif; ?>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </td>

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

                            <td class="text-right">
                                <div class="task_view">
                                    <a class="task_view_more d-flex align-items-center justify-content-center edit-channel" data-custom_link-id="<?php echo e($custom_link->id); ?>" href="javascript:;" >
                                        <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-custom_link-id="<?php echo e($custom_link->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([] + (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; ?>

            </div>
        </div>
    </div>
</div>
<?php /**PATH /home2/selectio/public_html/fms-worksuite/resources/views/custom-link-settings/ajax/custom-link-setting.blade.php ENDPATH**/ ?>

Zerion Mini Shell 1.0