changed "current" label - not perfect
This commit is contained in:
parent
53a85204da
commit
91cc633139
airtime_mvc/public/js/airtime/dashboard
|
@ -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){
|
||||||
|
|
Loading…
Reference in New Issue