changed "current" label - not perfect

This commit is contained in:
denise 2012-04-13 12:29:23 -04:00
parent 53a85204da
commit 91cc633139
1 changed files with 7 additions and 1 deletions
airtime_mvc/public/js/airtime/dashboard

View File

@ -148,7 +148,13 @@ function updatePlaybar(){
else else
$('#current').text(currentSong.name+","); $('#current').text(currentSong.name+",");
}else{ }else{
$('#current').html("Current: <span style='color:red; font-weight:bold'>Nothing Scheduled</span>"); if (master_dj_on_air) {
$('#current').html("Current: <span style='color:red; font-weight:bold'>Master DJ On Air</span>");
} else if (scheduled_play_on_air) {
$('#current').html("Current: <span style='color:red; font-weight:bold'>Show DJ On Air</span>");
} else if (live_dj_on_air) {
$('#current').html("Current: <span style='color:red; font-weight:bold'>Nothing Scheduled</span>");
}
} }
if (nextSong !== null){ if (nextSong !== null){