1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 15:27:54 +00:00

Merge pull request #3005 from ngosang/wasted

Web UI: Display wasted data with friendly units. Closes #2994
This commit is contained in:
sledgehammer999 2015-06-01 16:03:59 +03:00
commit 17cba898e9

View File

@ -58,7 +58,7 @@ var loadTorrentData = function() {
$('total_downloaded').set('html', friendlyUnit(data.total_downloaded) +
" (" + friendlyUnit(data.total_downloaded_session) +
" 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;
$('up_limit').set('html', temp == -1 ? "∞" : temp);
temp = data.dl_limit;