CC-3817 : Should use soundcloud icon for recorded & uploaded shows in timeline for past shows to match calendar
This commit is contained in:
parent
cc71c61fce
commit
ff5aebfd6b
3 changed files with 15 additions and 3 deletions
|
@ -339,7 +339,8 @@ var AIRTIME = (function(AIRTIME){
|
|||
r,g,b,a,
|
||||
$nRow = $(nRow),
|
||||
$image,
|
||||
$div;
|
||||
$div,
|
||||
headerIcon;
|
||||
|
||||
fnPrepareSeparatorRow = function fnPrepareSeparatorRow(sRowContent, sClass, iNodeIndex) {
|
||||
|
||||
|
@ -364,8 +365,11 @@ var AIRTIME = (function(AIRTIME){
|
|||
cl = 'sb-header';
|
||||
|
||||
if (aData.record === true) {
|
||||
|
||||
headerIcon = (aData.soundcloud_id > 0) ? "soundcloud" : "recording";
|
||||
|
||||
$div = $("<div/>", {
|
||||
"class": "small-icon recording"
|
||||
"class": "small-icon " + headerIcon
|
||||
});
|
||||
$node.append($div);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue