Notification

@if($notices->isEmpty())

No notification found

@else
@foreach($notices as $notice)

{{ $notice->title }}

{{ \Carbon\Carbon::parse($notice->published_at)->format('d M, Y') }}

@php $desc = e($notice->description); $desc = preg_replace('/(https?:\/\/[a-zA-Z0-9\-\.\/_\?=\&\%]+)/', '$1', $desc); $desc = preg_replace('/(?$1', $desc); @endphp {!! nl2br($desc) !!}

@if($notice->image)
Notice Image
@endif
@endforeach
@endif