{{-- Poster card. $c = catalogue card; $size: grid | row --}} @php $item = ['type' => $c['type'], 'id' => $c['id'], 'title' => $c['title'], 'year' => $c['year'], 'poster' => $c['poster'], 'path' => $c['path'], 'genres' => $c['genre_ids'] ?? []]; @endphp
@if ($c['poster']) {{ __('movies.poster_of', ['title' => $c['title']]) }} @else
{{ $c['title'] }}
@endif
@if ($c['rating']) {{ number_format($c['rating'], 1) }} @endif @if (! empty($c['has_video'])) {{ __('movies.available') }} @endif {{ $c['type'] === 'tv' ? __('movies.tv_short') : __('movies.movie_short') }}

{{ $c['title'] }}

@if ($c['year'])

{{ $c['year'] }}

@endif @if (! empty($c['role']))

{{ $c['role'] }}

@endif