Show page title in channel list

This commit is contained in:
calzoneman 2013-05-12 11:46:19 -04:00
parent 3af35cb268
commit d9ed665540
5 changed files with 8 additions and 2 deletions

View file

@ -35,6 +35,7 @@
<thead>
<tr>
<th>Channel</th>
<th>Title</th>
<th>Connected</th>
<th>Playing</th>
</tr>
@ -135,6 +136,7 @@
$("<a/>").attr("href", host + "/r/" + d.name)
.text(d.name)
.appendTo(name);
$("<td/>").text(d.pagetitle).appendTo(tr);
$("<td/>").text(d.usercount || 0).appendTo(tr);
var title = $("<td/>").appendTo(tr);
if(d.media.id) {
@ -153,6 +155,7 @@
$("<td/>").text("Total").appendTo(tr);
$("<td/>").text(total).appendTo(tr);
$("<td/>").appendTo(tr);
$("<td/>").appendTo(tr);
});
}

View file

@ -52,6 +52,7 @@
<thead>
<tr>
<th>Channel</th>
<th>Title</th>
<th>Connected</th>
<th>Playing</th>
</tr>
@ -144,6 +145,7 @@
$("<a/>").attr("href", host + "/r/" + d.name)
.text(d.name)
.appendTo(name);
$("<td/>").text(d.pagetitle).appendTo(tr);
$("<td/>").text(d.usercount || 0).appendTo(tr);
var title = $("<td/>").appendTo(tr);
if(d.media.id) {