@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)])
    {!! $web_notification_data['thread']->getActionDescription($web_notification_data['conversation']->number, true, Auth::user()) !!}
    {{ App\Misc\Helper::textPreview($web_notification_data['last_thread_body']) }}
  • @endforeach