{{ trans('messages.activity_log') }}
@if (Acelle\Model\Notification::count()) {{--
!
--}}
info
@endif
{{ trans('messages.activity_log') }}
@if (Auth::user()->admin->notifications()->count() == 0)
{{ trans('messages.no_notifications') }}
@endif @foreach (Auth::user()->admin->notifications()->take(20)->get() as $notification)
@if ($notification->level == \Acelle\Model\Notification::LEVEL_WARNING)
@elseif ( false &&$notification->level == \Acelle\Model\Notification::LEVEL_ERROR)
@else
@endif
{{ $notification->title }}
{{ $notification->created_at->diffForHumans() }}
{!! $notification->message !!}
@endforeach