• @if($count>0) {{ $count }} @endif
      @if($count>0)
    • {{ $count }} New Messages
    • @else
    • Nothing to show
    • @endif @isset($notifications) @foreach($notifications as $notification) @if(\App\Models\User::where('id',$notification->user_id)->exists())
    • @if($notification->senderName->pic) icon @elseif(Sentinel::getUser()->gender === "male") img @elseif(Sentinel::getUser()->gender === "female") img @else img @endif
      {{ $notification->senderName->first_name }} {{ $notification->senderName->last_name }}
      {{ $notification->subject }}
      {{ $notification->created_at->diffForHumans() }}
    • @endif @endforeach @endisset
    • View all