mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-21 03:02:28 +00:00
improve unreleased air date text clarity
This commit is contained in:
parent
bd9ff1698f
commit
5c25810c2e
2 changed files with 3 additions and 3 deletions
|
|
@ -531,7 +531,7 @@ export function EpisodeCarousel({
|
||||||
{episode.episode_number}
|
{episode.episode_number}
|
||||||
</span>
|
</span>
|
||||||
{!isAired && (
|
{!isAired && (
|
||||||
<span className="text-video-context-type-main/70 text-sm">
|
<span className="bg-video-context-hoverColor/50 text-video-context-type-main/80 text-sm px-1 py-0.5 rounded-md">
|
||||||
{episode.air_date
|
{episode.air_date
|
||||||
? `(${t("details.airs")} - ${new Date(episode.air_date).toLocaleDateString()})`
|
? `(${t("details.airs")} - ${new Date(episode.air_date).toLocaleDateString()})`
|
||||||
: `(${t("media.unreleased")})`}
|
: `(${t("media.unreleased")})`}
|
||||||
|
|
|
||||||
|
|
@ -447,7 +447,7 @@ export function EpisodesView({
|
||||||
E{ep.number}
|
E{ep.number}
|
||||||
</span>
|
</span>
|
||||||
{!isAired && (
|
{!isAired && (
|
||||||
<span className="text-video-context-type-main/70 text-sm">
|
<span className="bg-video-context-hoverColor/50 text-video-context-type-main/80 text-sm px-1 py-0.5 rounded-md">
|
||||||
{ep.air_date
|
{ep.air_date
|
||||||
? `(${t("details.airs")} - ${new Date(ep.air_date).toLocaleDateString()})`
|
? `(${t("details.airs")} - ${new Date(ep.air_date).toLocaleDateString()})`
|
||||||
: `(${t("media.unreleased")})`}
|
: `(${t("media.unreleased")})`}
|
||||||
|
|
@ -575,7 +575,7 @@ export function EpisodesView({
|
||||||
E{ep.number}
|
E{ep.number}
|
||||||
</span>
|
</span>
|
||||||
{!isAired && (
|
{!isAired && (
|
||||||
<span className="text-video-context-type-main/70 text-sm">
|
<span className="bg-video-context-hoverColor/50 text-video-context-type-main/80 text-sm px-1 py-0.5 rounded-md">
|
||||||
{ep.air_date
|
{ep.air_date
|
||||||
? `(${t("details.airs")} - ${new Date(ep.air_date).toLocaleDateString()})`
|
? `(${t("details.airs")} - ${new Date(ep.air_date).toLocaleDateString()})`
|
||||||
: `(${t("media.unreleased")})`}
|
: `(${t("media.unreleased")})`}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue