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

This commit is contained in:
nitsua 2022-03-11 14:12:32 -05:00
parent a515c5c7a5
commit b324190df8
2 changed files with 26 additions and 1 deletions

View File

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

View File

@ -290,7 +290,8 @@ class MovieDetails extends Component {
onRefreshPress,
onSearchPress,
queueItems,
movieRuntimeFormat
movieRuntimeFormat,
status
} = this.props;
const {
@ -549,6 +550,24 @@ class MovieDetails extends Component {
</span>
</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
className={styles.detailsInfoLabel}
title={translate('QualityProfile')}