• @if ($unread_mails_count > 0) {{ $unread_mails_count }} @endif
      @if ($unread_mails_count > 0)
    • {{ $unread_mails_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