@foreach ($res['notification']->data as $n)
@if (isset($n->comment)) @include('theme.'.env('THEME').'.component.peertube.my-account.notifications.comment') @elseif (isset($n->account)) @include('theme.'.env('THEME').'.component.peertube.my-account.notifications.account') @elseif (isset($n->actorFollow)) @include('theme.'.env('THEME').'.component.peertube.my-account.notifications.actorfollow') @elseif (isset($n->video)) @include('theme.'.env('THEME').'.component.peertube.my-account.notifications.video') @elseif (isset($n->videoAbuse)) @include('theme.'.env('THEME').'.component.peertube.my-account.notifications.account') @elseif (isset($n->videoBlacklist)) @include('theme.'.env('THEME').'.component.peertube.my-account.notifications.blacklist') @elseif (isset($n->videoImport)) @include('theme.'.env('THEME').'.component.peertube.my-account.notifications.import') @elseif (isset($n->plugin)) @include('theme.'.env('THEME').'.component.peertube.my-account.notifications.plugin') @endif
@csrf
{{ date('Y/m/d', strtotime($n->createdAt)) }}
@endforeach
@include('theme.'.env('THEME').'.component.peertube.common.paginate', [ 'root' => '/peertube/my-account/notifications' ])