From b324190df83d3786c93f35ee6f161d70b07cf24b Mon Sep 17 00:00:00 2001 From: nitsua Date: Fri, 11 Mar 2022 14:12:32 -0500 Subject: [PATCH] Add a label to show when a movie is deleted from TMDb --- frontend/src/Movie/Details/MovieDetails.css | 6 ++++++ frontend/src/Movie/Details/MovieDetails.js | 21 ++++++++++++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/frontend/src/Movie/Details/MovieDetails.css b/frontend/src/Movie/Details/MovieDetails.css index 4b1ed1441..954e86f5c 100644 --- a/frontend/src/Movie/Details/MovieDetails.css +++ b/frontend/src/Movie/Details/MovieDetails.css @@ -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; diff --git a/frontend/src/Movie/Details/MovieDetails.js b/frontend/src/Movie/Details/MovieDetails.js index 698db8e25..0347d1a1d 100644 --- a/frontend/src/Movie/Details/MovieDetails.js +++ b/frontend/src/Movie/Details/MovieDetails.js @@ -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 { + { + status === 'deleted' && + + + + {translate('Deleted')} + + + } +