1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00

Add tooltip to new tab icon in tx-view

This commit is contained in:
Whymarrh Whitby 2018-07-12 10:58:47 -02:30
parent 7581a4906f
commit d9f98a704e
2 changed files with 11 additions and 4 deletions

View File

@ -599,6 +599,9 @@
"oldUIMessage": {
"message": "You have returned to the old UI. You can switch back to the New UI through the option in the top right dropdown menu."
},
"openInTab": {
"message": "Open in tab"
},
"or": {
"message": "or",
"description": "choice between creating or importing a new account"

View File

@ -138,10 +138,14 @@ TxView.prototype.render = function () {
h(SelectedAccount),
!isMascara && h('div.open-in-browser', {
onClick: () => global.platform.openExtensionInBrowser(),
}, [h('img', { src: 'images/popout.svg' })]),
!isMascara && h(Tooltip, {
title: t('openInTab'),
position: 'bottom',
}, [
h('div.open-in-browser', {
onClick: () => global.platform.openExtensionInBrowser(),
}, [h('img', { src: 'images/popout.svg' })]),
]),
]),
this.renderHeroBalance(),