|
{!! $comment->content !!}
@if($comment->source()->first())
来源于@if(str_contains($comment->source_type,'Question'))问题[{{ $comment->source()->first()->title }}]
@elseif(str_contains($comment->source_type,'Answer'))回答[{{ $comment->source()->first()->question_title }}]
@elseif(str_contains($comment->source_type,'Article'))文章[{{ $comment->source()->first()->title }}]
@endif
@endif
|
{{ $comment->user->name }} [UID:{{ $comment->user_id }}] |
{{ timestamp_format($comment->created_at) }} |
{{-- | --}}
|
@endforeach