Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
[FIX] btc2ripple right error message (RT-3412)
Browse files Browse the repository at this point in the history
fix error message on add btc2ripple confirm
dialog if email is already in use
  • Loading branch information
darkdarkdragon committed May 8, 2015
1 parent 82486b2 commit 365a19d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/templates/tabs/btc.jade
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ section.col-xs-12.content(ng-controller='BtcCtrl')
.col-xs-7.col-sm-5.col-md-4
rp-popup
a.btn.btn-success.btn-sm.btn-block.sign(href="", rp-popup-link,
ng-click="openPopup()", ng-show="!btcConnected && !loading && !loadingAccount && loadState.B2RApp", ng-disabled="emailError", ng-hide="btcConnected",l10n) Add btc2ripple
ng-click="openPopup()", ng-show="!btcConnected && !loading && !loadingAccount && loadState.B2RApp", ng-disabled="emailError || !account.Balance || !can_add_trust", ng-hide="btcConnected",l10n) Add btc2ripple
div.connectModal(rp-popup-content)
.modal-header
.navbar-brand.hidden-sm.modal-logo#logo
Expand All @@ -82,9 +82,12 @@ section.col-xs-12.content(ng-controller='BtcCtrl')
span(ng-hide="loading", l10n) Confirm
button.modal-btn.btn.btn-default.btn-link.btn-cancel(data-dismiss="modal"
ng-hide="loading", l10n) cancel
span.modal-error(ng-show="emailError", l10n)
span.modal-error(ng-show="generalError", l10n)
| SnapSwap's btc2ripple service is currently unavailable.
| Please check back later.
div.modal-error(ng-show="emailError", l10n)
| You’ve already used this email address to generate a bitcoin receiving address in Ripple Trade.
| Please contact [email protected] if you want to use this Ripple Trade account instead.
button.btn.btn-primary(ng-show="!btcConnected && loading", ng-disabled="loading", l10n) Adding...
button.btn.btn-block.btn-primary(ng-show="showInstructions && btcConnected", type="submit", ng-click="toggle_instructions()", l10n) Hide instructions
button.btn.btn-block.btn-primary(ng-show="btcConnected && !showInstructions", type="submit", ng-click="toggle_instructions()", l10n) Show instructions
Expand Down

0 comments on commit 365a19d

Please sign in to comment.