mirror of
https://github.com/Radarr/Radarr
synced 2025-03-03 18:36:41 +00:00
Fixed: Add Year next to Title on Movie Details Page
This commit is contained in:
parent
5d7166662c
commit
1fe3c81b8d
2 changed files with 11 additions and 0 deletions
|
@ -63,6 +63,11 @@
|
|||
line-height: 50px;
|
||||
}
|
||||
|
||||
.year {
|
||||
margin-left: 5px;
|
||||
color: $disabledColor;
|
||||
}
|
||||
|
||||
.toggleMonitoredContainer {
|
||||
align-self: center;
|
||||
margin-right: 10px;
|
||||
|
|
|
@ -162,6 +162,7 @@ class MovieDetails extends Component {
|
|||
tmdbId,
|
||||
imdbId,
|
||||
title,
|
||||
year,
|
||||
runtime,
|
||||
ratings,
|
||||
path,
|
||||
|
@ -294,6 +295,10 @@ class MovieDetails extends Component {
|
|||
{title}
|
||||
</div>
|
||||
|
||||
<div className={styles.year}>
|
||||
({year})
|
||||
</div>
|
||||
|
||||
{
|
||||
!!alternateTitles.length &&
|
||||
<div className={styles.alternateTitlesIconContainer}>
|
||||
|
@ -557,6 +562,7 @@ MovieDetails.propTypes = {
|
|||
tmdbId: PropTypes.number.isRequired,
|
||||
imdbId: PropTypes.string,
|
||||
title: PropTypes.string.isRequired,
|
||||
year: PropTypes.string.isRequired,
|
||||
runtime: PropTypes.number.isRequired,
|
||||
ratings: PropTypes.object.isRequired,
|
||||
path: PropTypes.string.isRequired,
|
||||
|
|
Loading…
Reference in a new issue