mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-13 18:17:08 -07:00
Web UI: Display wasted data with friendly units. Closes #2994
This commit is contained in:
parent
e788445fe2
commit
de3c84bd0b
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ var loadTorrentData = function() {
|
||||||
$('total_downloaded').set('html', friendlyUnit(data.total_downloaded) +
|
$('total_downloaded').set('html', friendlyUnit(data.total_downloaded) +
|
||||||
" (" + friendlyUnit(data.total_downloaded_session) +
|
" (" + friendlyUnit(data.total_downloaded_session) +
|
||||||
" QBT_TR(this session)QBT_TR" + ")");
|
" QBT_TR(this session)QBT_TR" + ")");
|
||||||
$('total_wasted').set('html', data.total_wasted);
|
$('total_wasted').set('html', friendlyUnit(data.total_wasted));
|
||||||
temp = data.up_limit;
|
temp = data.up_limit;
|
||||||
$('up_limit').set('html', temp == -1 ? "∞" : temp);
|
$('up_limit').set('html', temp == -1 ? "∞" : temp);
|
||||||
temp = data.dl_limit;
|
temp = data.dl_limit;
|
||||||
|
@ -83,4 +83,4 @@ var loadTorrentData = function() {
|
||||||
var updateTorrentData = function() {
|
var updateTorrentData = function() {
|
||||||
clearTimeout(loadTorrentDataTimer);
|
clearTimeout(loadTorrentDataTimer);
|
||||||
loadTorrentData();
|
loadTorrentData();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue