mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Add link to export filename to view in browser
This commit is contained in:
parent
61c692ad4e
commit
14bb377794
3 changed files with 58 additions and 2 deletions
|
@ -69,7 +69,11 @@ export_table_options = {
|
|||
"data": "filename",
|
||||
"createdCell": function (td, cellData, rowData, row, col) {
|
||||
if (cellData !== '') {
|
||||
$(td).html(cellData);
|
||||
if (rowData['complete'] === 1 && rowData['exists']) {
|
||||
$(td).html('<a href="view_export?export_id=' + rowData['export_id'] + '" target="_blank">' + cellData + '</a>');
|
||||
} else {
|
||||
$(td).html(cellData);
|
||||
}
|
||||
}
|
||||
},
|
||||
"width": "50%",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue