1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 16:24:02 +00:00

(trunk web) #4579 "lock_icon.png does not display in inspector tab for encrypted peers" -- fixed.

This commit is contained in:
Jordan Lee 2011-10-20 00:10:06 +00:00
parent 0536107144
commit e3a6c7402d
2 changed files with 3 additions and 3 deletions

View file

@ -310,8 +310,8 @@ function Inspector(controller) {
for (i=0; peer=peers[i]; ++i) {
parity = (i%2) ? 'odd' : 'even';
html.push('<tr class="inspector_peer_entry ', parity, '">',
'<td>', (peer.isEncrypted ? '<span class="encrypted-peer-cell">'
: '<span class="unencrypted-peer-cell">'), '</span>', '</td>',
'<td>', (peer.isEncrypted ? '<div class="encrypted-peer-cell" title="Encrypted Connection">'
: '<div class="unencrypted-peer-cell">'), '</div>', '</td>',
'<td>', (peer.rateToPeer ? fmt.speedBps(peer.rateToPeer) : ''), '</td>',
'<td>', (peer.rateToClient ? fmt.speedBps(peer.rateToClient) : ''), '</td>',
'<td class="percentCol">', Math.floor(peer.progress*100), '%', '</td>',

View file

@ -766,7 +766,7 @@ tr.inspector_peer_entry {
}
tr.inspector_peer_entry span.encrypted-peer-cell {
tr.inspector_peer_entry div.encrypted-peer-cell {
width: 16px;
height: 16px;
background: transparent url('images/lock_icon.png') no-repeat;