diff options
author | Kevin Serrano <kevin.serrano@consensys.net> | 2017-04-26 05:39:01 +0800 |
---|---|---|
committer | Kevin Serrano <kevin.serrano@consensys.net> | 2017-04-26 05:39:01 +0800 |
commit | 242dc1e99f1dd53e2bec9deefb5da0c8329b5f00 (patch) | |
tree | d6a943349a6b86fab61558d59179435b4ddbeb2b /ui/app/components/buy-button-subview.js | |
parent | d764e46a500d0dc156a1da86498b751d23c94747 (diff) | |
download | tangerine-wallet-browser-242dc1e99f1dd53e2bec9deefb5da0c8329b5f00.tar tangerine-wallet-browser-242dc1e99f1dd53e2bec9deefb5da0c8329b5f00.tar.gz tangerine-wallet-browser-242dc1e99f1dd53e2bec9deefb5da0c8329b5f00.tar.bz2 tangerine-wallet-browser-242dc1e99f1dd53e2bec9deefb5da0c8329b5f00.tar.lz tangerine-wallet-browser-242dc1e99f1dd53e2bec9deefb5da0c8329b5f00.tar.xz tangerine-wallet-browser-242dc1e99f1dd53e2bec9deefb5da0c8329b5f00.tar.zst tangerine-wallet-browser-242dc1e99f1dd53e2bec9deefb5da0c8329b5f00.zip |
Add missing changes. Create unique style for rinkeby icon.
Diffstat (limited to 'ui/app/components/buy-button-subview.js')
-rw-r--r-- | ui/app/components/buy-button-subview.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ui/app/components/buy-button-subview.js b/ui/app/components/buy-button-subview.js index 191f46319..87084f92d 100644 --- a/ui/app/components/buy-button-subview.js +++ b/ui/app/components/buy-button-subview.js @@ -152,13 +152,19 @@ BuyButtonSubview.prototype.formVersionSubview = function () { marginBottom: '15px', }, }, 'In order to access this feature, please switch to the Main Network'), - ((network === '3') || (network === '42')) ? h('h3.text-transform-uppercase', 'or go to the') : null, + ((network === '3') || (network === '4') || (network === '42')) ? h('h3.text-transform-uppercase', 'or go to the') : null, (network === '3') ? h('button.text-transform-uppercase', { onClick: () => this.props.dispatch(actions.buyEth({ network })), style: { marginTop: '15px', }, }, 'Ropsten Test Faucet') : null, + (network === '4') ? h('button.text-transform-uppercase', { + onClick: () => this.props.dispatch(actions.buyEth({ network })), + style: { + marginTop: '15px', + }, + }, 'Rinkeby Test Faucet') : null, (network === '42') ? h('button.text-transform-uppercase', { onClick: () => this.props.dispatch(actions.buyEth({ network })), style: { |