Adopt offer book filter for IRC demo mode

This commit is contained in:
Manfred Karrer 2014-10-23 20:08:27 +02:00
parent 0a9222db21
commit 7ea5a92b78
2 changed files with 5 additions and 3 deletions

View file

@ -131,9 +131,8 @@ public class RegistrationViewCB extends CachedViewCB<RegistrationPM> implements
}); });
Popups.openInfo(BSResources.get("You have been successfully registered."), Popups.openInfo(BSResources.get("You have been successfully registered."),
BSResources.get("The transaction ID for the registration fee payment is:\n\n" + BSResources.get("Congratulation you have been successfully registered.\n\n" +
presentationModel.getTransactionId() + " You can now start trading."),
"\n\n You can now start trading."),
actions); actions);
} }
}); });

View file

@ -181,6 +181,8 @@ class OrderBookModel extends UIModel {
return true; return true;
boolean countryResult = offer.getAcceptedCountries().contains(user.getCurrentBankAccount().getCountry()); boolean countryResult = offer.getAcceptedCountries().contains(user.getCurrentBankAccount().getCountry());
// for IRC test version deactivate the check
countryResult = true;
if (!countryResult) if (!countryResult)
restrictionsInfo.set("This offer requires that the payments account resides in one of those countries:\n" + restrictionsInfo.set("This offer requires that the payments account resides in one of those countries:\n" +
formatter.countryLocalesToString(offer.getAcceptedCountries()) + formatter.countryLocalesToString(offer.getAcceptedCountries()) +
@ -188,6 +190,7 @@ class OrderBookModel extends UIModel {
") is not included in that list." + ") is not included in that list." +
"\n\n Do you want to edit your preferences now?"); "\n\n Do you want to edit your preferences now?");
// TODO Not so clear how the restrictions will be handled // TODO Not so clear how the restrictions will be handled
// we might get rid of languages (handles viy arbitrators) // we might get rid of languages (handles viy arbitrators)
/* /*