@extends('master/index') @section('content')

{{ t('Notifications') }}

@foreach($notifications as $notice) @if($notice->user)
{{ $notice->user->fullname }}

{{ $notice->user->fullname }}  {{ $notice->created_at->toISO8601String() }} 

@if($notice->type == 'follow')

Started Following you

@elseif($notice->type == 'comment' AND $notice->image)

Commented on your image {{ ucfirst($notice->image->title) }}

@elseif($notice->type == 'like' AND $notice->image)

Liked your image {{ ucfirst($notice->image->title) }}

@elseif($notice->type == 'reply' AND $notice->image)

Replied on your comment {{ ucfirst($notice->image->title) }}

@elseif($notice->type == 'follow' AND $notice->image)

Started Following Your

@endif

@endif @endforeach @endsection @section('pagination')
{!! $notifications->render() !!}
@endsection