@if($showTitle)
@lang('Notes')
@endif
@forelse($this->notes_by_date as $date => $notes) @php $id = uniqid() @endphp
{{ $date }}
@foreach($notes as $note)
@if($note->user->hasMedia('avatar')) avatar @else {{ $note->user->initials }} @endif
{!! nl2br(strip_tags($note->content)) !!}
@if($note->user_id === auth()->id() && $showDelete) @endif
@endforeach
@empty

@lang('No notes yet')

@svg('customize')
@endforelse
@if($showAddLink)
@endif