diff --git a/data/interfaces/default/js/tables/history_table.js b/data/interfaces/default/js/tables/history_table.js index 2e54a0d4..7e76cb28 100644 --- a/data/interfaces/default/js/tables/history_table.js +++ b/data/interfaces/default/js/tables/history_table.js @@ -34,6 +34,7 @@ history_table_options = { "createdCell": function (td, cellData, rowData, row, col) { $(td).html(''); }, + "width": "5%", "className": "delete-control no-wrap hidden", "searchable": false, "orderable": false @@ -49,6 +50,7 @@ history_table_options = { } }, "searchable": false, + "width": "8%", "className": "no-wrap" }, { @@ -65,6 +67,7 @@ history_table_options = { $(td).html(cellData); } }, + "width": "8%", "className": "no-wrap hidden-xs" }, { @@ -85,6 +88,7 @@ history_table_options = { $(td).html('n/a'); } }, + "width": "8%", "className": "no-wrap hidden-md hidden-sm hidden-xs modal-control-ip" }, { @@ -94,12 +98,16 @@ history_table_options = { if (cellData !== '') { var transcode_dec = ''; if (rowData['video_decision'] === 'transcode') { - transcode_dec = ' '; + transcode_dec = ' '; + } else if (rowData['video_decision'] === 'copy') { + transcode_dec = ' '; + } else if (rowData['video_decision'] === 'direct play' || rowData['video_decision'] === '') { + transcode_dec = ' '; } - $(td).html('
'); + $(td).html(''); } }, + "width": "15%", "className": "no-wrap hidden-md hidden-sm hidden-xs modal-control" }, { @@ -107,18 +115,26 @@ history_table_options = { "data":"full_title", "createdCell": function (td, cellData, rowData, row, col) { if (cellData !== '') { - if (rowData['media_type'] === 'movie' || rowData['media_type'] === 'episode') { - var media_type = rowData['media_type'][0].toUpperCase() + rowData['media_type'].substring(1); - $(td).html(''); + var media_type = ''; + var thumb_popover = '' + if (rowData['media_type'] === 'movie') { + media_type = ''; + thumb_popover = '' + cellData + '' + $(td).html(''); + } else if (rowData['media_type'] === 'episode') { + media_type = ''; + thumb_popover = '' + cellData + '' + $(td).html(''); } else if (rowData['media_type'] === 'track') { - $(td).html('