Migration complete
This commit is contained in:
23
resources/views/components/review-card.blade.php
Normal file
23
resources/views/components/review-card.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<div class="comment-block">
|
||||
<x-xen-foro-avatar :user="$review->user_id" />
|
||||
|
||||
<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>
|
||||
Reference in New Issue
Block a user