Changeset 8750
- Timestamp:
- Jun 26, 2009, 3:03:17 AM (13 years ago)
- Location:
- trunk/web
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/index.html
r8731 r8750 108 108 <div class="inspector_label">Date:</div> 109 109 <div id="torrent_inspector_creator_date">N/A</div> 110 </div> 111 </div><!-- class="inspector_group"--> 112 113 <div class="inspector_group"> 114 <div class="inspector_group_label">Where</div> 115 <div class="inspector_row"> 116 <div class="inspector_label">Download Dir:</div> 117 <div id="torrent_inspector_download_dir">N/A</div> 118 </div> 119 <div class="inspector_row"> 120 <div class="inspector_label">Torrent File:</div> 121 <div id="torrent_inspector_torrent_file">N/A</div> 110 122 </div> 111 123 </div><!-- class="inspector_group"--> -
trunk/web/javascript/torrent.js
r8743 r8750 309 309 this._total_seeders = Math.max( 0, data.seeders ); 310 310 this._state = data.status; 311 this._download_dir = data.downloadDir; 312 this._torrent_file = data.torrentFile; 311 313 312 314 if (data.fileStats) -
trunk/web/javascript/transmission.js
r8731 r8750 87 87 this._inspector._info_tab.creator_date = $(ti+'creator_date')[0]; 88 88 this._inspector._info_tab.creator = $(ti+'creator')[0]; 89 this._inspector._info_tab.download_dir = $(ti+'download_dir')[0]; 90 this._inspector._info_tab.torrent_file = $(ti+'torrent_file')[0]; 89 91 this._inspector._info_tab.downloaded = $(ti+'downloaded')[0]; 90 92 this._inspector._info_tab.download_from = $(ti+'download_from')[0]; … … 919 921 var creator = 'N/A'; 920 922 var comment = 'N/A'; 923 var download_dir = 'N/A'; 924 var torrent_file = 'N/A'; 921 925 var date_created = 'N/A'; 922 926 var error = ''; … … 984 988 var t = torrents[0]; 985 989 if( t._error_message ) 986 {987 990 error = t._error_message ; 988 }989 991 if( t._comment) 990 {991 992 comment = t._comment ; 992 }993 993 if( t._creator ) 994 {995 994 creator = t._creator ; 996 } 995 if( t._download_dir) 996 download_dir = t._download_dir; 997 if( t._torrent_file ) 998 torrent_file = t._torrent_file; 999 997 1000 hash = t.hash(); 998 1001 date_created = Math.formatTimestamp( t._creator_date ); … … 1055 1058 setInnerHTML( tab.comment, comment.replace(/\//g, '/​') ); 1056 1059 setInnerHTML( tab.creator, creator ); 1060 setInnerHTML( tab.download_dir, download_dir.replace(/([\/_\.])/g, "$1​") ); 1061 setInnerHTML( tab.torrent_file, torrent_file.replace(/([\/_\.])/g, "$1​") ); 1057 1062 setInnerHTML( tab.error, error ); 1058 1063 -
trunk/web/javascript/transmission.remote.js
r8742 r8750 108 108 'peersConnected', 'peersGettingFromUs', 'peersSendingToUs', 109 109 'rateDownload', 'rateUpload', 'seeders', 'sizeWhenDone', 110 'status', 'swarmSpeed', 'totalSize', 'uploadedEver', 'files', 'fileStats' ] 110 'status', 'swarmSpeed', 'totalSize', 'uploadedEver', 111 'downloadDir', 'torrentFile', 'files', 'fileStats' ] 111 112 } 112 113 }; … … 127 128 'peersConnected', 'peersGettingFromUs', 'peersSendingToUs', 128 129 'rateDownload', 'rateUpload', 'recheckProgress', 'seeders', 129 'sizeWhenDone', 'status', 'swarmSpeed', 'uploadedEver' ] 130 'sizeWhenDone', 'status', 'swarmSpeed', 'uploadedEver', 131 'downloadDir' ] 130 132 } 131 133 };
Note: See TracChangeset
for help on using the changeset viewer.