mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 13:41:15 -07:00
Add duration to history table footer
This commit is contained in:
parent
b51d442673
commit
f9f65eae53
4 changed files with 50 additions and 13 deletions
|
@ -18,7 +18,7 @@ history_table_options = {
|
|||
"lengthMenu":"Show _MENU_ entries per page",
|
||||
"info":"Showing _START_ to _END_ of _TOTAL_ history items",
|
||||
"infoEmpty":"Showing 0 to 0 of 0 entries",
|
||||
"infoFiltered":"(filtered from _MAX_ total entries)",
|
||||
"infoFiltered":"<span class='hidden-md hidden-sm hidden-xs'>(filtered from _MAX_ total entries)</span>",
|
||||
"emptyTable": "No data in table"
|
||||
},
|
||||
"pagingType": "bootstrap",
|
||||
|
@ -265,6 +265,9 @@ history_table_options = {
|
|||
createChildTable(this, rowData)
|
||||
}
|
||||
});
|
||||
|
||||
$("#history_table_info").append('<span class="hidden-md hidden-sm hidden-xs"> with a duration of ' + settings.json.filter_duration +
|
||||
' (filtered from ' + settings.json.total_duration + ' total)</span>');
|
||||
},
|
||||
"preDrawCallback": function(settings) {
|
||||
var msg = "<i class='fa fa-refresh fa-spin'></i> Fetching rows...";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue