mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 20:12:41 +02:00
Fixed: Add Year next to Title on Movie Details Page
This commit is contained in:
parent
5d7166662c
commit
1fe3c81b8d
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user