@if ($torrent->seeding)
@endif
@if ($torrent->leeching)
@endif
@if ($torrent->not_completed)
@endif
@if ($torrent->not_seeding)
@endif
@if (config('other.thanks-system.is-enabled') && isset($torrent->thanks_count))
{{ $torrent->thanks_count }}
@endif
@isset($torrent->comments_count)
@endisset
@if ($torrent->internal)
@endif
@if ($torrent->personal_release)
@endif
@if ($torrent->stream)
@endif
@php
$alwaysFreeleech = $personalFreeleech || $torrent->freeleech_tokens_exists || auth()->user()->group->is_freeleech || auth()->user()->is_donor || config('other.freeleech')
@endphp
@if ($torrent->featured)
true,
__('torrent.featured') . ' - 100% ' . __('torrent.freeleech') . ' + ' . __('torrent.double-upload') => true,
"\nAfter feature expires:" => true,
__('torrent.personal-freeleech') => $personalFreeleech,
__('torrent.freeleech-token') => $torrent->freeleech_tokens_exists,
__('torrent.special-freeleech') => auth()->user()->group->is_freeleech || auth()->user()->is_donor,
__('torrent.global-freeleech') => config('other.freeleech'),
$torrent->free . '% ' . __('common.free') . ($torrent->fl_until !== null ? ' (expires ' . $torrent->fl_until->diffForHumans() . ')' : '') => $torrent->free > 0,
__('torrent.global-double-upload') => config('other.doubleup'),
__('torrent.special-double_upload') => auth()->user()->group->is_double_upload,
'100% ' . __('torrent.double-upload') . ($torrent->du_until !== null ? ' (expires ' . $torrent->du_until->diffForHumans() . ')' : '') => $torrent->doubleup > 0,
],
true
)
)
}}"
>
@else
@if ($alwaysFreeleech || $torrent->free)
$alwaysFreeleech || (90 <= $torrent->free && $torrent->fl_until === null),
'fa-star-half' => ! $alwaysFreeleech && $torrent->free < 90 && $torrent->fl_until === null,
'fa-calendar-star' => ! $alwaysFreeleech && $torrent->fl_until !== null,
])
title="{{
implode(
"\n",
array_keys(
[
__('torrent.personal-freeleech') => $personalFreeleech,
__('torrent.freeleech-token') => $torrent->freeleech_tokens_exists,
__('torrent.special-freeleech') => auth()->user()->group->is_freeleech,
__('torrent.global-freeleech') => config('other.freeleech'),
__('torrent.featured') . ' - 100%' . __('torrent.freeleech') => $torrent->featured,
$torrent->free . '% ' . __('common.free') . ($torrent->fl_until !== null ? ' (expires ' . $torrent->fl_until->diffForHumans() . ')' : '') => $torrent->free > 0,
],
true
)
)
}}"
>
@endif
@if (config('other.doubleup') || auth()->user()->group->is_double_upload || $torrent->doubleup)
config('other.doubleup'),
__('torrent.special-double_upload') => auth()->user()->group->is_double_upload,
__('torrent.featured') . ' - ' . __('torrent.double-upload') => $torrent->featured,
'100% ' . __('torrent.double-upload') . ($torrent->du_until !== null ? ' (expires ' . $torrent->du_until->diffForHumans() . ')' : '') => $torrent->doubleup > 0,
],
true
)
)
}}"
>
@endif
@endif
@if ($torrent->refundable || auth()->user()->group->is_refundable)
@endif
@if ($torrent->sticky)
@endif
@if ($torrent->highspeed)
@endif
@if ($torrent->sd)
@endif
@if ($torrent->bumped_at != $torrent->created_at && $torrent->bumped_at < Illuminate\Support\Carbon::now()->addDay(2))
@endif
@if ($torrent->trump_exists)
@endif