From a91037843ba88d11930ac80b9570825422ccbcdc Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Thu, 24 Nov 2011 17:11:08 +0000 Subject: details: complete the status tab Fix the remaining data items so they display correctly and tweak the spacing to make the view a little more pleasant on the eye --- deluge/ui/web/js/deluge-all/details/StatusTab.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/deluge/ui/web/js/deluge-all/details/StatusTab.js b/deluge/ui/web/js/deluge-all/details/StatusTab.js index 674387d16..593e2de7f 100644 --- a/deluge/ui/web/js/deluge-all/details/StatusTab.js +++ b/deluge/ui/web/js/deluge-all/details/StatusTab.js @@ -73,7 +73,8 @@ Ext.define('Deluge.details.StatusTab', { items: [{ defaults: { labelWidth: 100, - width: 300 + width: 300, + margins: '2 0 2 0' }, items: [{ label: _('Downloaded'), @@ -89,7 +90,7 @@ Ext.define('Deluge.details.StatusTab', { dataIndex: 'announce' }, { label: _('Tracker Status'), - dataIndex: 'tracker' + dataIndex: 'tracker_status' }] }, { defaults: { @@ -146,7 +147,7 @@ Ext.define('Deluge.details.StatusTab', { dataIndex: 'seed_rank' }, { label: _('Date Added'), - dataIndex: 'time_rank' + dataIndex: 'time_added' }] }] }); @@ -180,6 +181,7 @@ Ext.define('Deluge.details.StatusTab', { uploaded: fsize(torrent.total_uploaded, true), share: (torrent.ratio == -1) ? '∞' : torrent.ratio.toFixed(3), announce: ftime(torrent.next_announce), + tracker_status: torrent.tracker_status, tracker_torrent: torrent.tracker_torrent, downspeed: (torrent.download_payload_rate) ? fspeed(torrent.download_payload_rate) : '0.0 KiB/s', upspeed: (torrent.upload_payload_rate) ? fspeed(torrent.upload_payload_rate) : '0.0 KiB/s', -- cgit