From fb17938fed017eb61ac56f45d80a82bef65a873f Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Thu, 10 Mar 2022 00:13:30 +0400 Subject: [PATCH] Fixed vars in template. --- internal/handlers/web/templates/index.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/handlers/web/templates/index.jade b/internal/handlers/web/templates/index.jade index ccd952b..97b1e27 100644 --- a/internal/handlers/web/templates/index.jade +++ b/internal/handlers/web/templates/index.jade @@ -35,8 +35,8 @@ html(lang='en') //- p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]] //- else //- p #[span#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 Now playing: #[span#radio-song= .Status.SongName] + p Current/peak listeners: #[span#radio-listeners= .Status.Listeners] / #[span#radio-listener-peak= .Status.ListenerPeak] p small Notice: information updates every 45 seconds. But you can #[button(id='btn-update') update] it forcibly. //- if (.Status.LastSongs)