mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 12:04:10 +00:00
add the comment field to the Details tab
This commit is contained in:
parent
da318ba450
commit
b00b942fee
@ -77,7 +77,7 @@ html, body {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
.deluge-status dd.torrent_name, .deluge-status dd.status, .deluge-status dd.tracker, .deluge-status dd.path {
|
||||
.deluge-status dd.torrent_name, .deluge-status dd.status, .deluge-status dd.tracker, .deluge-status dd.path, .deluge-status dd.comment {
|
||||
width: 500px;
|
||||
}
|
||||
|
||||
|
@ -158,7 +158,8 @@ Deluge.Details.Details = {
|
||||
size: fsize(torrent.total_size),
|
||||
files: torrent.num_files,
|
||||
status: torrent.tracker_status,
|
||||
tracker: torrent.tracker
|
||||
tracker: torrent.tracker,
|
||||
comment: torrent.comment
|
||||
};
|
||||
this.fields.each(function(value, key) {
|
||||
value.set('text', data[key]);
|
||||
|
@ -133,7 +133,7 @@ Deluge.Keys = {
|
||||
],
|
||||
Details: [
|
||||
'name', 'save_path', 'total_size', 'num_files', 'tracker_status',
|
||||
'tracker'
|
||||
'tracker', 'comment'
|
||||
],
|
||||
Options: [
|
||||
'max_download_speed', 'max_upload_speed', 'max_connections',
|
||||
|
@ -4,6 +4,7 @@
|
||||
<dt class="path">${_("Path")}:</dt><dd class="path"/>
|
||||
<dt class="size">${_("Total Size")}:</dt><dd class="size"/>
|
||||
<dt class="files">${_("# of files")}:</dt><dd class="files"/>
|
||||
<dt class="comment">${_("Comment")}:</dt><dd class="comment" />
|
||||
<dt class="status">${_("Status")}:</dt><dd class="status"/>
|
||||
<dt class="tracker">${_("Tracker")}:</dt><dd class="tracker"/>
|
||||
</dl>
|
||||
|
Loading…
x
Reference in New Issue
Block a user