diff options
author | Bobby Dresser <bobby.dresser@gmail.com> | 2018-06-12 05:28:57 +0800 |
---|---|---|
committer | Bobby Dresser <bobby.dresser@gmail.com> | 2018-06-12 05:28:57 +0800 |
commit | 4196b16f06a45d5ebfbf8599cc2f96c9b690e29b (patch) | |
tree | be582bf0d403e08e5a045b8fe977b899b605b92a /ui/app/components | |
parent | b7a469681bdadd77f8c09da254db91dad820a7a1 (diff) | |
download | tangerine-wallet-browser-4196b16f06a45d5ebfbf8599cc2f96c9b690e29b.tar tangerine-wallet-browser-4196b16f06a45d5ebfbf8599cc2f96c9b690e29b.tar.gz tangerine-wallet-browser-4196b16f06a45d5ebfbf8599cc2f96c9b690e29b.tar.bz2 tangerine-wallet-browser-4196b16f06a45d5ebfbf8599cc2f96c9b690e29b.tar.lz tangerine-wallet-browser-4196b16f06a45d5ebfbf8599cc2f96c9b690e29b.tar.xz tangerine-wallet-browser-4196b16f06a45d5ebfbf8599cc2f96c9b690e29b.tar.zst tangerine-wallet-browser-4196b16f06a45d5ebfbf8599cc2f96c9b690e29b.zip |
add help link to eth_sign warning
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/signature-request.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ui/app/components/signature-request.js b/ui/app/components/signature-request.js index ab780dcf4..2a3e929fe 100644 --- a/ui/app/components/signature-request.js +++ b/ui/app/components/signature-request.js @@ -178,7 +178,14 @@ SignatureRequest.prototype.renderBody = function () { rows = data } else if (type === 'eth_sign') { rows = [{ name: this.context.t('message'), value: data }] - notice = this.context.t('signNotice') + notice = [this.context.t('signNotice'), + h('span.request-signature__help-link', { + onClick: () => { + global.platform.openWindow({ + url: 'https://consensys.zendesk.com/hc/en-us/articles/360004427792', + }) + }, + }, this.context.t('learnMore'))] } return h('div.request-signature__body', {}, [ |