mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(web) un-uglify the peer list transfer speed colums from r10804
This commit is contained in:
parent
16f1ebefce
commit
4d486fc2c2
1 changed files with 2 additions and 2 deletions
|
@ -1335,8 +1335,8 @@ Transmission.prototype =
|
|||
var parity = ((i+1) % 2 == 0 ? 'even' : 'odd');
|
||||
html += '<tr class="inspector_peer_entry ' + parity + '">';
|
||||
html += '<td>' + (peer.isEncrypted ? '<img src="images/graphics/lock_icon.png" alt="Encrypted"/>' : '') + '</td>';
|
||||
html += '<td>' + Transmission.fmt.speed(peer.rateToPeer) + '</td>';
|
||||
html += '<td>' + Transmission.fmt.speed(peer.rateToClient) + '</td>';
|
||||
html += '<td>' + ( peer.rateToPeer ? Transmission.fmt.speed(peer.rateToPeer) : '' ) + '</td>';
|
||||
html += '<td>' + ( peer.rateToClient ? Transmission.fmt.speed(peer.rateToClient) : '' ) + '</td>';
|
||||
html += '<td class="percentCol">' + Math.floor(peer.progress*100) + '%' + '</td>';
|
||||
html += '<td>' + peer.flagStr + '</td>';
|
||||
html += '<td>' + peer.address + '</td>';
|
||||
|
|
Loading…
Reference in a new issue