1
0

Let's try this.

This commit is contained in:
Alexander Andreev 2022-03-08 02:49:01 +04:00
parent 8b34a5bddf
commit 6a44747bdd
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -30,7 +30,7 @@ html(lang='en')
audio(preload='none' controls='')
source(src='/live/stream.ogg' type='audio/ogg')
| Your browser doesn't support an audio element, it's sad... But you always can take the #[a(href='/playlist') playlist].
if (.Status.ServerStartDate != 'n/a')
if (!(.Status.ServerStartDate == 'n/a'))
p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]]
else
p #[span#radio-status Radio is offline.]