aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorBobby Dresser <bobby.dresser@gmail.com>2018-06-12 05:28:57 +0800
committerBobby Dresser <bobby.dresser@gmail.com>2018-06-12 05:28:57 +0800
commit4196b16f06a45d5ebfbf8599cc2f96c9b690e29b (patch)
treebe582bf0d403e08e5a045b8fe977b899b605b92a /ui/app/components
parentb7a469681bdadd77f8c09da254db91dad820a7a1 (diff)
downloadtangerine-wallet-browser-4196b16f06a45d5ebfbf8599cc2f96c9b690e29b.tar.gz
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.js9
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', {}, [