This repository has been archived by the owner on Sep 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 495
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] btc2ripple right error message (RT-3412)
fix error message on add btc2ripple confirm dialog if email is already in use
- Loading branch information
1 parent
82486b2
commit 365a19d
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|