@let item = selectedItem(); @if (item && item.info) { @let info = item.info; @let hero = heroPresenter.hero; @if (hero.seasonChip(); as season) { {{ 'PORTALS.SEASON_TAB' | translate: { number: season } }} } @if (hero.statusLabel(); as status) { {{ status }} } @if (hero.year(); as year) { @if ( info.releaseDate && discover.canOpenYear(info.releaseDate) ) { } @else { {{ year }} } } @if (hero.genreChips().length) { @for (genre of hero.genreChips(); track genre.label) { @if (!$first) { } @if (genre.facet; as facet) { } @else { {{ genre.label }} } } } @if (info.episode_run_time) { {{ info.episode_run_time }} min/ep } @for (country of hero.countryChips(); track country.label) { @if (country.facet; as facet) { } @else { {{ country.label }} } } @if (info.rating) { ★ {{ info.rating }} } @if (hero.primaryAction(); as primary) { } @if (heroPresenter.trailerEmbedUrl()) { } @if (inlinePlayback(); as playback) { }
} @else if (detailsError()) { } @else { }