Working radio online status.
This commit is contained in:
parent
b258e6f7ef
commit
f605475f75
@ -30,12 +30,12 @@ html(lang='en')
|
||||
| OGG 128 Kb/s
|
||||
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].
|
||||
//- - var isDateNA = .Status.ServerStartDate == 'n/a'
|
||||
//- unless false
|
||||
//- p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]]
|
||||
//- else
|
||||
//- p #[span#radio-status Radio is offline.]
|
||||
| Your browser doesn't support an audio element, it's sad... But you always can take the #[a(href='/playlist') playlist]!
|
||||
if .Status.ServerStartDate
|
||||
p#radio-status On-air since
|
||||
time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate
|
||||
else
|
||||
p#radio-status Radio is offline.
|
||||
p Now playing: #[span#radio-song #{.Status.SongName}]
|
||||
p Current/peak listeners: #[span#radio-listeners #{.Status.Listeners}] / #[span#radio-listener-peak #{.Status.ListenerPeak}]
|
||||
p
|
||||
|
Loading…
Reference in New Issue
Block a user