From e3a6c7402df5b0d205ccd0390fb973e6463f0ee4 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Thu, 20 Oct 2011 00:10:06 +0000 Subject: [PATCH] (trunk web) #4579 "lock_icon.png does not display in inspector tab for encrypted peers" -- fixed. --- web/javascript/inspector.js | 4 ++-- web/style/transmission/common.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/javascript/inspector.js b/web/javascript/inspector.js index 2cd946718..3877533ef 100644 --- a/web/javascript/inspector.js +++ b/web/javascript/inspector.js @@ -310,8 +310,8 @@ function Inspector(controller) { for (i=0; peer=peers[i]; ++i) { parity = (i%2) ? 'odd' : 'even'; html.push('', - '', (peer.isEncrypted ? '' - : ''), '', '', + '', (peer.isEncrypted ? '
' + : '
'), '
', '', '', (peer.rateToPeer ? fmt.speedBps(peer.rateToPeer) : ''), '', '', (peer.rateToClient ? fmt.speedBps(peer.rateToClient) : ''), '', '', Math.floor(peer.progress*100), '%', '', diff --git a/web/style/transmission/common.css b/web/style/transmission/common.css index 56df5045d..85c72ee78 100644 --- a/web/style/transmission/common.css +++ b/web/style/transmission/common.css @@ -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;