diff --git a/data/interfaces/default/js/tables/user_ips.js b/data/interfaces/default/js/tables/user_ips.js index 9c8cc411..5968b67a 100644 --- a/data/interfaces/default/js/tables/user_ips.js +++ b/data/interfaces/default/js/tables/user_ips.js @@ -52,7 +52,15 @@ user_ip_table_options = { "data":"platform", "createdCell": function (td, cellData, rowData, row, col) { if (cellData) { - $(td).html(' ' + cellData + ''); + var transcode_dec = ''; + if (rowData['video_decision'] === 'transcode') { + transcode_dec = ' '; + } else if (rowData['video_decision'] === 'copy') { + transcode_dec = ' '; + } else if (rowData['video_decision'] === 'direct play' || rowData['video_decision'] === '') { + transcode_dec = ' '; + } + $(td).html('
'); } else { $(td).html('n/a'); } @@ -65,14 +73,20 @@ user_ip_table_options = { "data":"last_watched", "createdCell": function (td, cellData, rowData, row, col) { if (cellData !== '') { - if (rowData['media_type'] === 'movie' || rowData['media_type'] === 'episode') { - var transcode_dec = ''; - if (rowData['video_decision'] === 'transcode') { - transcode_dec = ' '; - } - $(td).html('