From c3290b4ac2bc427cfaa4575bc2330b6d204e6247 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Sun, 25 Apr 2010 21:28:07 +0100 Subject: [PATCH] add the save path column to the grid --- deluge/ui/web/js/deluge-all/Keys.js | 2 +- deluge/ui/web/js/deluge-all/Torrents.js | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/deluge/ui/web/js/deluge-all/Keys.js b/deluge/ui/web/js/deluge-all/Keys.js index 3f2d17bdd..fe1c0b4b1 100644 --- a/deluge/ui/web/js/deluge-all/Keys.js +++ b/deluge/ui/web/js/deluge-all/Keys.js @@ -48,7 +48,7 @@ Deluge.Keys = { 'queue', 'name', 'total_size', 'state', 'progress', 'num_seeds', 'total_seeds', 'num_peers', 'total_peers', 'download_payload_rate', 'upload_payload_rate', 'eta', 'ratio', 'distributed_copies', - 'is_auto_managed', 'time_added', 'tracker_host' + 'is_auto_managed', 'time_added', 'tracker_host', 'save_path' ], /** diff --git a/deluge/ui/web/js/deluge-all/Torrents.js b/deluge/ui/web/js/deluge-all/Torrents.js index 14d797694..29f854312 100644 --- a/deluge/ui/web/js/deluge-all/Torrents.js +++ b/deluge/ui/web/js/deluge-all/Torrents.js @@ -113,7 +113,8 @@ {name: 'ratio', type: 'float'}, {name: 'distributed_copies', type: 'float'}, {name: 'time_added', type: 'int'}, - {name: 'tracker_host'} + {name: 'tracker_host'}, + {name: 'save_path'} ] }), columns: [{ @@ -196,6 +197,12 @@ sortable: true, renderer: trackerRenderer, dataIndex: 'tracker_host' + }, { + header: _('Save Path'), + width: 120, + sortable: true, + renderer: fplain, + dataIndex: 'save_path' }], region: 'center', cls: 'deluge-torrents',