CC-5410 : Now playing icon should not lag to show up on calendar
This commit is contained in:
parent
f91cb39e46
commit
73e5fa8a90
2 changed files with 23 additions and 0 deletions
|
@ -1082,6 +1082,14 @@ SQL;
|
|||
$event["rebroadcast"] = intval($show["rebroadcast"]);
|
||||
$event["soundcloud_id"] = is_null($show["soundcloud_id"])
|
||||
? -1 : $show["soundcloud_id"];
|
||||
|
||||
//for putting the now playing icon on the show.
|
||||
if ($now > $startsDT && $now < $endsDT) {
|
||||
$event["nowPlaying"] = true;
|
||||
}
|
||||
else {
|
||||
$event["nowPlaying"] = false;
|
||||
}
|
||||
|
||||
//event colouring
|
||||
if ($show["color"] != "") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue