|
|
@ -242,6 +242,7 @@ class MovieDetails extends Component {
|
|
|
|
qualityProfileId,
|
|
|
|
qualityProfileId,
|
|
|
|
monitored,
|
|
|
|
monitored,
|
|
|
|
studio,
|
|
|
|
studio,
|
|
|
|
|
|
|
|
originalLanguage,
|
|
|
|
genres,
|
|
|
|
genres,
|
|
|
|
collection,
|
|
|
|
collection,
|
|
|
|
overview,
|
|
|
|
overview,
|
|
|
@ -574,7 +575,7 @@ class MovieDetails extends Component {
|
|
|
|
</InfoLabel>
|
|
|
|
</InfoLabel>
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
!!collection &&
|
|
|
|
collection ?
|
|
|
|
<InfoLabel
|
|
|
|
<InfoLabel
|
|
|
|
className={styles.detailsInfoLabel}
|
|
|
|
className={styles.detailsInfoLabel}
|
|
|
|
title={translate('Collection')}
|
|
|
|
title={translate('Collection')}
|
|
|
@ -585,11 +586,26 @@ class MovieDetails extends Component {
|
|
|
|
tmdbId={collection.tmdbId}
|
|
|
|
tmdbId={collection.tmdbId}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</InfoLabel>
|
|
|
|
</InfoLabel> :
|
|
|
|
|
|
|
|
null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
!!studio && !isSmallScreen &&
|
|
|
|
originalLanguage?.name && !isSmallScreen ?
|
|
|
|
|
|
|
|
<InfoLabel
|
|
|
|
|
|
|
|
className={styles.detailsInfoLabel}
|
|
|
|
|
|
|
|
title={translate('OriginalLanguage')}
|
|
|
|
|
|
|
|
size={sizes.LARGE}
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<span className={styles.originalLanguage}>
|
|
|
|
|
|
|
|
{originalLanguage.name}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</InfoLabel> :
|
|
|
|
|
|
|
|
null
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
studio && !isSmallScreen ?
|
|
|
|
<InfoLabel
|
|
|
|
<InfoLabel
|
|
|
|
className={styles.detailsInfoLabel}
|
|
|
|
className={styles.detailsInfoLabel}
|
|
|
|
title={translate('Studio')}
|
|
|
|
title={translate('Studio')}
|
|
|
@ -598,11 +614,12 @@ class MovieDetails extends Component {
|
|
|
|
<span className={styles.studio}>
|
|
|
|
<span className={styles.studio}>
|
|
|
|
{studio}
|
|
|
|
{studio}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</InfoLabel>
|
|
|
|
</InfoLabel> :
|
|
|
|
|
|
|
|
null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
!!genres.length && !isSmallScreen &&
|
|
|
|
genres.length && !isSmallScreen ?
|
|
|
|
<InfoLabel
|
|
|
|
<InfoLabel
|
|
|
|
className={styles.detailsInfoLabel}
|
|
|
|
className={styles.detailsInfoLabel}
|
|
|
|
title={translate('Genres')}
|
|
|
|
title={translate('Genres')}
|
|
|
@ -611,7 +628,8 @@ class MovieDetails extends Component {
|
|
|
|
<span className={styles.genres}>
|
|
|
|
<span className={styles.genres}>
|
|
|
|
{genres.join(', ')}
|
|
|
|
{genres.join(', ')}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</InfoLabel>
|
|
|
|
</InfoLabel> :
|
|
|
|
|
|
|
|
null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -745,6 +763,7 @@ MovieDetails.propTypes = {
|
|
|
|
monitored: PropTypes.bool.isRequired,
|
|
|
|
monitored: PropTypes.bool.isRequired,
|
|
|
|
status: PropTypes.string.isRequired,
|
|
|
|
status: PropTypes.string.isRequired,
|
|
|
|
studio: PropTypes.string,
|
|
|
|
studio: PropTypes.string,
|
|
|
|
|
|
|
|
originalLanguage: PropTypes.object,
|
|
|
|
genres: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
|
|
genres: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
|
|
collection: PropTypes.object,
|
|
|
|
collection: PropTypes.object,
|
|
|
|
youTubeTrailerId: PropTypes.string,
|
|
|
|
youTubeTrailerId: PropTypes.string,
|
|
|
|