Файловый менеджер - Редактировать - /home/kckglobal/public_html/portal/storage/framework/views/31b1326a8766c4ab2d51c6df998ad7a3.php
Назад
<div class="modal-header"> <h5 class="modal-title" id="modelHeading"><?php echo app('translator')->get('modules.tasks.comment'); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> </div> <div class="modal-body"> <?php if (isset($component)) { $__componentOriginal18ad2e0d264f9740dc73fff715357c28 = $component; } ?> <?php $component = App\View\Components\Form::resolve(['method' => 'PUT'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('form'); ?> <?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\Form::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'edit-comment-data-form']); ?> <div class="row"> <div class="col-md-12 p-20 "> <div class="media"> <img src="<?php echo e($comment->user->image_url); ?>" class="align-self-start mr-3 taskEmployeeImg rounded" alt="<?php echo e(mb_ucwords($comment->user->name)); ?>"> <div class="media-body bg-white"> <div class="form-group"> <div id="task-edit-comment"><?php echo $comment->comment; ?></div> <textarea name="comment" class="form-control invisible d-none" id="task-edit-comment-text"><?php echo $comment->comment; ?></textarea> </div> </div> </div> </div> </div> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginal18ad2e0d264f9740dc73fff715357c28)): ?> <?php $component = $__componentOriginal18ad2e0d264f9740dc73fff715357c28; ?> <?php unset($__componentOriginal18ad2e0d264f9740dc73fff715357c28); ?> <?php endif; ?> </div> <div class="modal-footer"> <?php if (isset($component)) { $__componentOriginalc35c79ed7e812580313ad04118477974 = $component; } ?> <?php $component = App\View\Components\Forms\ButtonCancel::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.button-cancel'); ?> <?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\Forms\ButtonCancel::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['data-dismiss' => 'modal','class' => 'border-0 mr-3']); ?><?php echo app('translator')->get('app.cancel'); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc35c79ed7e812580313ad04118477974)): ?> <?php $component = $__componentOriginalc35c79ed7e812580313ad04118477974; ?> <?php unset($__componentOriginalc35c79ed7e812580313ad04118477974); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalcf8d12533ff890e0d6573daf32b7618d = $component; } ?> <?php $component = App\View\Components\Forms\ButtonPrimary::resolve(['icon' => 'check'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.button-primary'); ?> <?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\Forms\ButtonPrimary::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'save-edit-comment']); ?><?php echo app('translator')->get('app.save'); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalcf8d12533ff890e0d6573daf32b7618d)): ?> <?php $component = $__componentOriginalcf8d12533ff890e0d6573daf32b7618d; ?> <?php unset($__componentOriginalcf8d12533ff890e0d6573daf32b7618d); ?> <?php endif; ?> </div> <script> var edit_task_comments = "<?php echo e(user()->permission('edit_task_comments')); ?>"; $(document).ready(function() { $('#save-edit-comment').click(function() { var comment = document.getElementById('task-edit-comment').children[0].innerHTML; document.getElementById('task-edit-comment-text').value = comment; var mention_user_id = $('#task-edit-comment span[data-id]').map(function(){ return $(this).attr('data-id') }).get(); var token = '<?php echo e(csrf_token()); ?>'; const url = "<?php echo e(route('taskComment.update', $comment->id)); ?>"; $.easyAjax({ url: url, container: '#edit-comment-data-form', type: "POST", disableButton: true, blockUI: true, buttonSelector: "#save-edit-comment", data: { '_token': token, comment: comment, mention_user_id : mention_user_id, '_method': 'PUT', taskId: '<?php echo e($comment->task->id); ?>' }, success: function(response) { if (response.status == "success") { destory_editor('#task-edit-comment'); document.getElementById('comment-list').innerHTML = response.view; $(MODAL_LG).modal('hide'); } } }); }); }); const atValues = <?php echo json_encode($taskuserData, 15, 512) ?>; $(document).ready(function() { if (add_task_comments == "all" || add_task_comments == "added") { quillMention(atValues, '#task-edit-comment'); } }); </script> <?php /**PATH /home/kckglobal/public_html/portal/resources/views/tasks/comments/edit.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка