@if($showTitle)
@lang('Notes')
@endif
$this->notes_by_date->count() ])>
@foreach($this->notes_by_date as $date => $notes) @php($collapseId = uniqid())
{{ $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
@endforeach @if($showAddLink && $this->notes_by_date->count()) @elseif($showAddLink && ! $deferLoad) @endif