mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Add Year next to Title on Movie Details Page
This commit is contained in:
@@ -63,6 +63,11 @@
|
|||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.year {
|
||||||
|
margin-left: 5px;
|
||||||
|
color: $disabledColor;
|
||||||
|
}
|
||||||
|
|
||||||
.toggleMonitoredContainer {
|
.toggleMonitoredContainer {
|
||||||
align-self: center;
|
align-self: center;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
@@ -162,6 +162,7 @@ class MovieDetails extends Component {
|
|||||||
tmdbId,
|
tmdbId,
|
||||||
imdbId,
|
imdbId,
|
||||||
title,
|
title,
|
||||||
|
year,
|
||||||
runtime,
|
runtime,
|
||||||
ratings,
|
ratings,
|
||||||
path,
|
path,
|
||||||
@@ -294,6 +295,10 @@ class MovieDetails extends Component {
|
|||||||
{title}
|
{title}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div className={styles.year}>
|
||||||
|
({year})
|
||||||
|
</div>
|
||||||
|
|
||||||
{
|
{
|
||||||
!!alternateTitles.length &&
|
!!alternateTitles.length &&
|
||||||
<div className={styles.alternateTitlesIconContainer}>
|
<div className={styles.alternateTitlesIconContainer}>
|
||||||
@@ -557,6 +562,7 @@ MovieDetails.propTypes = {
|
|||||||
tmdbId: PropTypes.number.isRequired,
|
tmdbId: PropTypes.number.isRequired,
|
||||||
imdbId: PropTypes.string,
|
imdbId: PropTypes.string,
|
||||||
title: PropTypes.string.isRequired,
|
title: PropTypes.string.isRequired,
|
||||||
|
year: PropTypes.string.isRequired,
|
||||||
runtime: PropTypes.number.isRequired,
|
runtime: PropTypes.number.isRequired,
|
||||||
ratings: PropTypes.object.isRequired,
|
ratings: PropTypes.object.isRequired,
|
||||||
path: PropTypes.string.isRequired,
|
path: PropTypes.string.isRequired,
|
||||||
|
Reference in New Issue
Block a user