diff options
author | Alib <aliboba@free.fr> | 2010-03-18 11:06:07 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-03-18 11:06:07 +0100 |
commit | 2dbbd68202142e08e32fda6f3fd1401b7fe3e9b8 (patch) | |
tree | 9d0b3f7f360ecd4df4a38d8fa8b9b27f99e15f3c /js | |
parent | 1561a0c3a75da9ea7cf8f1eb22bcdb403bce60c6 (diff) | |
download | istreamdev-2dbbd68202142e08e32fda6f3fd1401b7fe3e9b8.tar.gz istreamdev-2dbbd68202142e08e32fda6f3fd1401b7fe3e9b8.tar.bz2 |
added type in running status
Diffstat (limited to 'js')
-rw-r--r-- | js/istreamdev.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js index 7073b5d..8a62ace 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -184,10 +184,10 @@ var dataString = "action=getRunningSessions"; session = broadcast.session;
name = broadcast.name;
type = broadcast.type;
- if (type == 'tv') { var pic='tv.png'; }
- else if (type == 'rec') { var pic='record.png'; }
- else if (type == 'vid') { var pic='video.png'; }
- $('#home #runningsessions').append('<li class="arrow"><a rel="' + session + '" href="#"><img class="menuicon" src="img/' + pic + '" /><span class="menuname">' + name + '</span></a></li>');
+ if (type == 'tv') { var pic='tv.png';var typerunning = 'TV:' }
+ else if (type == 'rec') { var pic='record.png'; var typerunning = 'REC:' }
+ else if (type == 'vid') { var pic='video.png'; var typerunning = 'VID:' }
+ $('#home #runningsessions').append('<li class="arrow"><a rel="' + session + '" href="#"><img class="menuicon" src="img/' + pic + '" /><span class="menuname">' + typerunning + name + '</span></a></li>');
});
$('#home #runningsessions').append('<li><a rel="killsessions" href="#"><span class="menuname">Stop all sessions</span></a></li>');
}
|