Merge branch '2.4.x' of dev.sourcefabric.org:airtime into 2.4.x
This commit is contained in:
commit
ede618b3ad
1 changed files with 5 additions and 5 deletions
|
@ -51,15 +51,15 @@ var AIRTIME = (function(AIRTIME){
|
||||||
|
|
||||||
var lastElem = json.schedule[json.schedule.length-1];
|
var lastElem = json.schedule[json.schedule.length-1];
|
||||||
var $elem = $("#fc-show-instance-"+instance_id);
|
var $elem = $("#fc-show-instance-"+instance_id);
|
||||||
$elem.find(".small-icon").remove();
|
$elem.find(".show-empty, .show-partial-filled").remove();
|
||||||
if (json.schedule[1].empty) {
|
if (json.schedule[1].empty) {
|
||||||
$elem
|
$elem
|
||||||
.find(".fc-event-title")
|
.find(".fc-event-inner")
|
||||||
.after('<span id="'+instance_id+'" title="'+$.i18n._("Show is empty")+'" class="small-icon show-empty"></span>');
|
.append('<span id="'+instance_id+'" title="'+$.i18n._("Show is empty")+'" class="small-icon show-empty"></span>');
|
||||||
} else if (lastElem["fRuntime"][0] == "-") {
|
} else if (lastElem["fRuntime"][0] == "-") {
|
||||||
$elem
|
$elem
|
||||||
.find(".fc-event-title")
|
.find(".fc-event-inner")
|
||||||
.after('<span id="'+instance_id+'" title="'+$.i18n._("Show is partially filled")+'" class="small-icon show-partial-filled"></span>');
|
.append('<span id="'+instance_id+'" title="'+$.i18n._("Show is partially filled")+'" class="small-icon show-partial-filled"></span>');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue