{!! link_to_route('backend.notes.show', $note->id, [$note->id]) !!} |
{!! link_to_route($note->noteable->getBackendRoutes()['show'], $note->noteable->display(), [$note->noteable->id]) !!} |
{{ $note->content }} |
{!! $note->author ? link_to_route('backend.users.show', $note->author->username, ['id' => $note->author->id]) : 'System' !!} |
{!! Helper::displayCalendarDate($note->created_at) !!} |
{!! Helper::icon_to_route('backend.notes.show', 'fa-eye', [$note->id], ['title' => 'View Note']) !!}
@if(auth()->user()->isOverlord())
{!! Helper::icon_to_route('backend.notes.destroy', 'fa-ban', [$note->id], ['title' => 'Delete Note']) !!}
@endif
|
@endforeach