@props([ 'results', 'showThumbs' => false, 'dateField' => 'adddate', ]) @php $shouldShowThumbs = filter_var($showThumbs, FILTER_VALIDATE_BOOL); $activeDateField = (string) $dateField; @endphp
| Name | Category | Added | Size | Files | Stats | Action | |
|---|---|---|---|---|---|---|---|
|
@if($shouldShowThumbs)
@php
$coverUrl = ($result->cover ?? false) ? $result->cover : getReleaseCover($result);
$hasValidCover = $coverUrl && !str_contains($coverUrl, 'no-cover.png');
@endphp
@if($hasValidCover)
query('thumbs') === '1') x-cloak @endunless>
{{ $result->searchname }}
@if($reportedCount > 0)
Reported ({{ $reportedCount }})
@endif
@if($responseCount > 0)
Response
@endif
@if(!empty($result->failed_count) && $result->failed_count > 0)
Failed ({{ $result->failed_count }})
@endif
@if(isset($result->haspreview) && $result->haspreview == 1)
@endif
@if(isset($result->jpgstatus) && $result->jpgstatus == 1)
@endif
@if(!empty($result->videos_id) && (int) $result->videos_id > 0)
View Series
@endif
@if(isset($result->reid) && $result->reid != null)
@endif
@if(isset($result->nfostatus) && $result->nfostatus == 1)
@endif
@if($result->group_name)
{{ $result->group_name }}
@endif
@if(!empty($result->postdate))
Posted: {{ userDate($result->postdate, 'M d, Y H:i') }}
@endif
@if(!empty($result->fromname))
{{ $result->fromname }}
@endif
|
{{ $result->category_name ?? 'Other' }} | {{ $dateValue ? userDateDiffForHumans($dateValue) : 'Unknown' }} | {{ $sizeLabel }} | @if(($result->totalpart ?? 0) > 0) @else {{ $result->totalpart ?? 0 }} @endif |
{{ $result->grabs ?? 0 }}
{{ $result->comments ?? 0 }}
|