PATH:
home
/
rwabteecom
/
project_11
/
resources
/
views
/
global
/
Editing: notifications.blade.php
@if(Auth::user()->unreadNotifications()->count() == 0) <h1 class="text-center">{{__("There no notifications")}}</h1> @else @foreach(Auth::user()->unreadNotifications()->latest()->take(10)->get() as $notification) <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 @if(isset($notification->data["url"])) href="{{route('admin.notifications.show', $notification->id)}}" @else href="javascript:;" @endif class="fs-6 text-gray-800 text-hover-primary fw-bold">{{$notification->data["title"][app()->getLocale()]}}</a> <div class="text-gray-400 fs-7">{{$notification->data["description"][app()->getLocale()]}}</div> </div> </div> <span class="badge badge-light fs-8">{{ $notification->created_at->diffForHumans() }}</span> <a href="javascript:;" data-href="{{route('admin.notifications.destroy', $notification->id)}}" class="deleteNotification badge badge-danger fs-8"> {{__("Delete")}} </a> </div> @endforeach @endif
SAVE
CANCEL