diff --git a/src/popup/index.html b/src/popup/index.html index 797dbca..58f95b9 100644 --- a/src/popup/index.html +++ b/src/popup/index.html @@ -653,27 +653,27 @@ < Back

Transaction

-
+
Status
-
+
Time
-
+
Amount
-
+
From
-
+
To
-
+
Transaction hash
diff --git a/src/popup/views/addressDetail.js b/src/popup/views/addressDetail.js index 99b9cea..b41d3de 100644 --- a/src/popup/views/addressDetail.js +++ b/src/popup/views/addressDetail.js @@ -221,19 +221,27 @@ function blockieHtml(address) { function txDetailAddressHtml(address) { const ensName = ensNameMap.get(address) || null; const blockie = blockieHtml(address); + const dot = addressDotHtml(address); const link = etherscanAddressLink(address); const extLink = `${EXT_ICON}`; + let html = `
${blockie}
`; if (ensName) { - return ( - blockie + + html += + `
${dot}` + copyableHtml(ensName, "") + extLink + + `
` + `
` + copyableHtml(address, "break-all") + - `
` - ); + `
`; + } else { + html += + `
${dot}` + + copyableHtml(address, "break-all") + + extLink + + `
`; } - return blockie + copyableHtml(address, "break-all") + extLink; + return html; } function txDetailHashHtml(hash) {