1
0

Fixed vars in template.

This commit is contained in:
Alexander Andreev 2022-03-10 00:13:30 +04:00
parent 72b026c04f
commit fb17938fed
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -35,8 +35,8 @@ html(lang='en')
//- p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]] //- p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]]
//- else //- else
//- p #[span#radio-status Radio is offline.] //- p #[span#radio-status Radio is offline.]
p Now playing: #[span#radio-song= #{.Status.SongName}] p Now playing: #[span#radio-song= .Status.SongName]
p Current/peak listeners: #[span#radio-listeners #{.Status.Listeners}] / #[span#radio-listener-peak #{.Status.ListenerPeak}] p Current/peak listeners: #[span#radio-listeners= .Status.Listeners] / #[span#radio-listener-peak= .Status.ListenerPeak]
p p
small Notice: information updates every 45 seconds. But you can #[button(id='btn-update') update] it forcibly. small Notice: information updates every 45 seconds. But you can #[button(id='btn-update') update] it forcibly.
//- if (.Status.LastSongs) //- if (.Status.LastSongs)