CC-3817 : Should use soundcloud icon for recorded & uploaded shows in timeline for past shows to match calendar

This commit is contained in:
Naomi Aro 2012-05-14 15:06:56 +02:00
parent cc71c61fce
commit ff5aebfd6b
3 changed files with 15 additions and 3 deletions

View file

@ -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);
}