26 lines
1.0 KiB
PHP
26 lines
1.0 KiB
PHP
<div class="comment-block">
|
|
<div class="comment-avatar">
|
|
<x-xen-foro-avatar :user="$review->user_id" />
|
|
</div>
|
|
|
|
<div class="comment-content">
|
|
<div class="comment-meta">
|
|
<span class="comment-author">{{ $review->xenforoUser()?->username }}</span>
|
|
<span class="comment-separator"></span>
|
|
<x-review-star-rating :rating="$review->rating" />
|
|
<span class="comment-separator"></span>
|
|
<span class="comment-date">{{ $review->created_at->format('Y-m-d') }}</span>
|
|
@if( $entryShow && $review->entry()->exists() )
|
|
<span class="comment-separator"></span>
|
|
<a href="{{ route('entries.show', ['section' => $review->entry?->type, 'entry' => $review->entry ]) }}">{{ $review->entry->complete_title ?? $review->entry->title }}</a>
|
|
@endif
|
|
</div>
|
|
|
|
<div class="review-title">{{ $review->title }}</div>
|
|
|
|
<div class="comment-body markdown-body">
|
|
{!! $review->description_html !!}
|
|
</div>
|
|
</div>
|
|
</div>
|