@extends('core::layouts.backend') @section('title', $title) @section('breadcrumb') @endsection @push('css_stack') @endpush @section('layout')
@if($notifications->count())
@foreach($notifications as $no => $notification) @php $notification_message = ($notification->data&&isset($notification->data['notification_message'])?$notification->data['notification_message']:''); $notification_url = ($notification->data&&isset($notification->data['notification_url'])&&!empty($notification->data['notification_url'])?$notification->data['notification_url']:route("{$jobapp_identifier}.backend.notification.index")); $notification_url = str_replace(['http://localhost', 'https://localhost', '//localhost'], url('/'), $notification_url); $notification_url = route("{$jobapp_identifier}.backend.notification.index", ['read' => $notification->id, 'redirect' => encrypt_decrypt($notification_url)]); @endphp @endforeach
@lang('label.no') @lang('label.notification') @lang('label.times')
{{ $no+1 }}

{!! str_replace('', '', str_replace('', '', clean_html($notification_message))) !!}

{{ $notification->updated_at->format('d M y H:i') }} ({{ $notification->updated_at->diffForHumans() }})

@if ($notifications->hasPages()) @endif
@else {!! no_data() !!} @endif
@endsection