From 91cc6331394858f02c48cdf0b0d79dcbec50b12a Mon Sep 17 00:00:00 2001 From: denise Date: Fri, 13 Apr 2012 12:29:23 -0400 Subject: [PATCH] changed "current" label - not perfect --- airtime_mvc/public/js/airtime/dashboard/playlist.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/airtime_mvc/public/js/airtime/dashboard/playlist.js b/airtime_mvc/public/js/airtime/dashboard/playlist.js index 3ad590fb6..bd47c06b1 100644 --- a/airtime_mvc/public/js/airtime/dashboard/playlist.js +++ b/airtime_mvc/public/js/airtime/dashboard/playlist.js @@ -148,7 +148,13 @@ function updatePlaybar(){ else $('#current').text(currentSong.name+","); }else{ - $('#current').html("Current: Nothing Scheduled"); + if (master_dj_on_air) { + $('#current').html("Current: Master DJ On Air"); + } else if (scheduled_play_on_air) { + $('#current').html("Current: Show DJ On Air"); + } else if (live_dj_on_air) { + $('#current').html("Current: Nothing Scheduled"); + } } if (nextSong !== null){