@extends('layouts.master') @section('head') @endsection @section('content') @php $unread_count = $notifications->where('marked_as_read', false)->count(); @endphp
{{-- Welcome strip --}}
Notifications

Notifications

Updates, alerts, and announcements about your store, account, and the app.

@if($unread_count > 0)
{{ $unread_count }} unread
@endif
@if(count($notifications) > 0)
    @foreach($notifications as $notification)
  • {{ $notification->notification_title }}
    {{ $notification->updated_at }}

    {!! $notification->notification_body !!}

  • @endforeach
@else

You're all caught up

No notifications right now. We'll let you know when something needs your attention.

@endif
@if($notifications->hasPages())
{{ $notifications->links() }}
@endif
@endsection @section('last_scripts')