1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-22 22:15:17 -04:00

replaced words with icons and matched the sort for consistency

This commit is contained in:
Robin Dadswell
2021-01-24 22:46:33 +00:00
committed by Qstick
parent 70faa123ee
commit 39d11b4669
2 changed files with 30 additions and 8 deletions
@@ -275,7 +275,9 @@ class MovieIndexPoster extends Component {
{
showCinemaRelease && inCinemas &&
<div className={styles.title}>
{translate('InCinemas')}: {getRelativeDate(
<Icon
name={icons.IN_CINEMAS}
/> {getRelativeDate(
inCinemas,
shortDateFormat,
showRelativeDates,
@@ -288,16 +290,28 @@ class MovieIndexPoster extends Component {
}
{
showCinemaRelease && !inCinemas &&
showReleaseDate && releaseDateType === 'Released' &&
<div className={styles.title}>
{translate('NoCinemaRelease')}
<Icon
name={icons.DISC}
/> {getRelativeDate(
releaseDate,
shortDateFormat,
showRelativeDates,
{
timeFormat,
timeForToday: false
}
)}
</div>
}
{
showReleaseDate &&
showReleaseDate && releaseDateType === 'Digital' &&
<div className={styles.title}>
{translate(releaseDateType)}: {getRelativeDate(
<Icon
name={icons.MOVIE_FILE}
/> {getRelativeDate(
releaseDate,
shortDateFormat,
showRelativeDates,