@foreach ($web_notifications_info_data as $web_notification_data)
@if ($loop->first || \App\User::dateFormat($web_notifications_info_data[$loop->index-1]['created_at'], 'M j, Y') != \App\User::dateFormat($web_notification_data['created_at'], 'M j, Y'))
@php
$notification_date = \App\User::dateFormat($web_notification_data['created_at'], 'M j, Y');
@endphp
@if ($notification_date == \App\User::dateFormat(\Carbon\Carbon::now(), 'M j, Y'))
{{ __('Today') }}
@else
{{ $notification_date }}
@endif
@endif
@php
$conv_params = [];
if (!$web_notification_data['notification']->read_at) {
$conv_params['mark_as_read'] = $web_notification_data['notification']->id;
}
@endphp
@include('partials/person_photo', ['person' => $web_notification_data['thread']->getPerson(true)])
{{ App\Misc\Helper::textPreview($web_notification_data['last_thread_body']) }}
@action('web_notification.after_body', $web_notification_data)
@endforeach