Add a label to show when a movie is deleted from TMDb

add-deleted-status-movie-details
nitsua 2 years ago
parent a515c5c7a5
commit b324190df8

@ -152,11 +152,17 @@
.statusName, .statusName,
.studio, .studio,
.collection, .collection,
.deletedLabel,
.genres { .genres {
font-weight: 300; font-weight: 300;
font-size: 17px; font-size: 17px;
} }
.deletedIcon {
margin-right: 2px;
vertical-align: baseline;
}
.overview { .overview {
flex: 1 0 auto; flex: 1 0 auto;
margin-top: 8px; margin-top: 8px;

@ -290,7 +290,8 @@ class MovieDetails extends Component {
onRefreshPress, onRefreshPress,
onSearchPress, onSearchPress,
queueItems, queueItems,
movieRuntimeFormat movieRuntimeFormat,
status
} = this.props; } = this.props;
const { const {
@ -549,6 +550,24 @@ class MovieDetails extends Component {
</span> </span>
</InfoLabel> </InfoLabel>
{
status === 'deleted' &&
<InfoLabel
className={styles.detailsInfoLabel}
title="TMDb"
size={sizes.LARGE}
>
<span className={styles.deletedLabel}>
<Icon
className={styles.deletedIcon}
name={icons.WARNING}
size={12}
/>
{translate('Deleted')}
</span>
</InfoLabel>
}
<InfoLabel <InfoLabel
className={styles.detailsInfoLabel} className={styles.detailsInfoLabel}
title={translate('QualityProfile')} title={translate('QualityProfile')}

Loading…
Cancel
Save