%PDF- %PDF-
Direktori : /var/www/html/sljcon/storage/framework/views/ |
Current File : /var/www/html/sljcon/storage/framework/views/49c0df13ddee1f2f955c752958963f188f29bfda.php |
<?php $__env->startSection('content'); ?> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th scope="col">#</th> <th scope="col">Description</th> <th scope="col">Full Name</th> <th scope="col">Job Position</th> <th scope="col">Status</th> <th scope="col">Action</th> </tr> </thead> <tbody> <?php $__currentLoopData = $testimonials; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td scope="row"><?php echo e(++$key); ?></td> <td><?php echo e($item->description); ?></td> <td><?php echo e($item->fullName); ?></td> <td><?php echo e($item->jobPosition); ?></td> <td><?php echo e($item->statusName()); ?></td> <td> <div class="btn-group" role="group" aria-label="Basic example"> <?php if($item->isApproved): ?> <a href="<?php echo e(route('admin.testimonial.draftOrPublish',['id'=>$item->id])); ?>" type="button" class="btn btn-warning"> <i class="fa fa-edit"> Draft</i> </a> <?php else: ?> <a href="<?php echo e(route('admin.testimonial.draftOrPublish',['id'=>$item->id])); ?>" type="button" class="btn btn-success"> <i class="fa fa-check"> Publish</i> </a> <?php endif; ?> <a href="<?php echo e(route('admin.testimonial.delete',['id'=>$item->id])); ?>" type="button" class="btn btn-danger" onclick="return confirm('Are you sure you want to delete this testimonial?')"> <i class="fa fa-times"> Delete</i> </a> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <?php echo e($testimonials->links()); ?> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>