From f8964b2b4ffd8e7227c87d71036c8a28dd628385 Mon Sep 17 00:00:00 2001 From: Martin Reddy Date: Mon, 19 Oct 2009 08:39:33 +0000 Subject: EXT-332 DEV-40744: Local currency updates for Buy L$ floater. Added links to the Buy L$ floater to access payment method, local currency settings, and exchange rate. Also included required text about re-entering value in order to update exhance rate. And added a notification on successful payment, as some foreign currency transactions can take up to 20 mins to complete. Worked with Ram on Erica on the design. The actual text may need some tweaking once we hear back from Gisland. The URLs are placeholder for now. --- indra/newview/llfloaterbuycurrency.cpp | 1 + .../skins/default/xui/en/floater_buy_currency.xml | 66 ++++++++++++++++------ .../newview/skins/default/xui/en/notifications.xml | 10 ++++ 3 files changed, 59 insertions(+), 18 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llfloaterbuycurrency.cpp b/indra/newview/llfloaterbuycurrency.cpp index e160cd01be..651122f20a 100644 --- a/indra/newview/llfloaterbuycurrency.cpp +++ b/indra/newview/llfloaterbuycurrency.cpp @@ -152,6 +152,7 @@ void LLFloaterBuyCurrencyUI::draw() { if (mManager.bought()) { + LLNotifications::instance().add("BuyLindenDollarSuccess"); closeFloater(); return; } diff --git a/indra/newview/skins/default/xui/en/floater_buy_currency.xml b/indra/newview/skins/default/xui/en/floater_buy_currency.xml index 041cd2a118..5bab421adf 100644 --- a/indra/newview/skins/default/xui/en/floater_buy_currency.xml +++ b/indra/newview/skins/default/xui/en/floater_buy_currency.xml @@ -28,7 +28,7 @@ layout="topleft" left="20" height="30" - top="30" + top="25" width="300" name="info_need_more"> You need more L$ @@ -53,7 +53,7 @@ layout="topleft" left="20" height="30" - top="30" + top="25" width="200" name="info_buying"> Buy L$ @@ -67,7 +67,7 @@ layout="topleft" left="20" name="balance_label" - top="70" + top="65" width="210"> I have @@ -91,7 +91,7 @@ follows="top|left" font="SansSerifMedium" height="16" - top="100" + top="95" layout="topleft" left="20" name="currency_action" @@ -133,7 +133,7 @@ height="16" layout="topleft" left="20" - top="130" + top="125" name="buying_label" width="210"> For the price @@ -148,10 +148,10 @@ height="16" top_delta="0" layout="topleft" - left="170" + left="150" name="currency_est" - width="150"> - [LOCALAMOUNT] + width="170"> + approx. [LOCALAMOUNT] My new balance will be @@ -212,28 +212,58 @@ + [http://www.secondlife.com/ payment method] | [http://www.secondlife.com/ currency] | [http://www.secondlife.com exchange rate] + + +Re-enter amount to see the latest exchange rate. + + - Confirming this purchase only buys the L$. -You'll need to try again. + Confirming this purchase only buys L$, not the object. - You aren't buying enough L$. -Increase the amount to buy. + You aren't buying enough L$. Increase the amount.