PATH:
home
/
rwabteecom
/
project_11
/
storage
/
framework
/
views
/
Editing: 6fa86dda92011a34fb8872cea3f257e4.php
<?php if(Auth::user()->unreadNotifications()->count() == 0): ?> <h1 class="text-center"><?php echo e(__("There no notifications")); ?></h1> <?php else: ?> <?php $__currentLoopData = Auth::user()->unreadNotifications()->latest()->take(10)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="d-flex flex-stack py-4"> <div class="d-flex align-items-center"> <div class="symbol symbol-35px me-4"> <span class="symbol-label bg-light-primary"> <i class="ki-duotone ki-abstract-28 fs-2 text-primary"> <span class="path1"></span> <span class="path2"></span> </i> </span> </div> <div class="mb-0 me-2"> <a <?php if(isset($notification->data["url"])): ?> href="<?php echo e(route('admin.notifications.show', $notification->id)); ?>" <?php else: ?> href="javascript:;" <?php endif; ?> class="fs-6 text-gray-800 text-hover-primary fw-bold"><?php echo e($notification->data["title"][app()->getLocale()]); ?></a> <div class="text-gray-400 fs-7"><?php echo e($notification->data["description"][app()->getLocale()]); ?></div> </div> </div> <span class="badge badge-light fs-8"><?php echo e($notification->created_at->diffForHumans()); ?></span> <a href="javascript:;" data-href="<?php echo e(route('admin.notifications.destroy', $notification->id)); ?>" class="deleteNotification badge badge-danger fs-8"> <?php echo e(__("Delete")); ?> </a> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php /**PATH /home/rwabtee/project/resources/views/global/notifications.blade.php ENDPATH**/ ?>
SAVE
CANCEL