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

View File

@ -148,8 +148,14 @@ function updatePlaybar(){
else else
$('#current').text(currentSong.name+","); $('#current').text(currentSong.name+",");
}else{ }else{
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>"); $('#current').html("Current: <span style='color:red; font-weight:bold'>Nothing Scheduled</span>");
} }
}
if (nextSong !== null){ if (nextSong !== null){
$('#next').text(nextSong.name+","); $('#next').text(nextSong.name+",");