Opened 9 years ago

Closed 9 years ago

#5336 closed Enhancement (wontfix)

Please add torrent ID display

Reported by: leandroong Owned by:
Priority: Normal Milestone: None Set
Component: Web Client Version: 2.77
Severity: Normal Keywords:
Cc:

Description

I want to see torrent ID diplayed together with torrent NAME. Can you provide me the changes in code for inpsction.js? I use it as basis for renaming torrent.

Change History (2)

comment:1 Changed 9 years ago by leandroong

inspector.js (line 60 80) 60 61 update the name, which is shown on all the pages

62 if (!torrents
!torrents.length)

63 name = 'No Selection'; 64 else if(torrents.length === 1) 65 name = torrents[0].getName(); 66 else 67 name = + torrents.length+' Transfers Selected';

68 setTextContent(e.name_lb, name
na);

69 70 update the visible page 71 if ($(e.info_page).is(':visible')) 72 updateInfoPage(); 73 else if ($(e.peers_page).is(':visible')) 74 updatePeersPage(); 75 else if ($(e.trackers_page).is(':visible')) 76 updateTrackersPage(); 77 else if ($(e.files_page).is(':visible')) 78 updateFilesPage(); 79 }, 80

I tried changing line 65 to name = torrents[0].getName()+' - '+torrents[0].getId();

has no effect. Any idea why?

comment:2 Changed 9 years ago by livings124

  • Resolution set to wontfix
  • Status changed from new to closed

This is something that isn't relevant to an end-user. Renaming torrents should be added to the web ui, but this information isn't important to most users.

Note: See TracTickets for help on using tickets.