mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 13:11:15 -07:00
Show if items are currently playing on history page.
This commit is contained in:
parent
650e0963e2
commit
58c1dec68a
1 changed files with 7 additions and 2 deletions
|
@ -139,8 +139,13 @@
|
|||
{
|
||||
"targets": [1],
|
||||
"data":"date",
|
||||
"render": function ( data, type, full ) {
|
||||
return moment(data, "X").format("${date_format}");
|
||||
"createdCell": function (td, cellData, rowData, row, col) {
|
||||
if (rowData['stopped'] === null) {
|
||||
$(td).addClass('currentlyWatching');
|
||||
$(td).html('Currently watching...');
|
||||
} else {
|
||||
$(td).html(moment(cellData,"X").format("${date_format}"));
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue