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.
master
Martin Reddy 2009-10-19 08:39:33 +00:00
parent ea1bfae838
commit f8964b2b4f
3 changed files with 60 additions and 19 deletions

View File

@ -152,6 +152,7 @@ void LLFloaterBuyCurrencyUI::draw()
{
if (mManager.bought())
{
LLNotifications::instance().add("BuyLindenDollarSuccess");
closeFloater();
return;
}

View File

@ -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
</text>
@ -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]
</text>
<text
type="string"
@ -161,7 +161,7 @@
follows="top|left"
height="16"
layout="topleft"
top="130"
top="125"
left="170"
width="150"
halign="right"
@ -171,11 +171,11 @@
<text
type="string"
font="SansSerifSmall"
top="150"
top="145"
length="1"
follows="top|left"
halign="right"
height="16"
halign="right"
left="150"
width="170"
layout="topleft"
@ -191,7 +191,7 @@
layout="topleft"
left="20"
name="total_label"
top="170"
top="165"
width="210">
My new balance will be
</text>
@ -212,28 +212,58 @@
<text
type="string"
length="1"
text_color="0.7 0.7 0.7 0.5"
follows="top|left"
layout="topleft"
top="195"
halign="right"
top="189"
left="20"
width="300"
height="30"
name="purchase_warning_repurchase">
Confirming this purchase only buys the L$.
You&apos;ll need to try again.
name="currency_links">
[http://www.secondlife.com/ payment method] | [http://www.secondlife.com/ currency] | [http://www.secondlife.com exchange rate]
</text>
<text
type="string"
length="1"
text_color="0.7 0.7 0.7 0.5"
follows="top|left"
layout="topleft"
top="195"
halign="right"
top="202"
left="20"
width="300"
height="30"
name="exchange_rate_note">
Re-enter amount to see the latest exchange rate.
</text>
<text
type="string"
length="1"
text_color="0.7 0.7 0.7 0.5"
follows="top|left"
layout="topleft"
halign="right"
top="213"
left="10"
width="310"
height="30"
name="purchase_warning_repurchase">
Confirming this purchase only buys L$, not the object.
</text>
<text
type="string"
length="1"
text_color="0.7 0.7 0.7 0.5"
follows="top|left"
layout="topleft"
halign="right"
top="213"
left="20"
width="300"
height="30"
name="purchase_warning_notenough">
You aren&apos;t buying enough L$.
Increase the amount to buy.
You aren&apos;t buying enough L$. Increase the amount.
</text>
<button

View File

@ -6125,6 +6125,16 @@ You just paid L$[AMOUNT].
Your L$ balance is shown in the upper-right.
</notification>
<notification
icon="notify.tga"
name="BuyLindenDollarSuccess"
type="notify">
Thank you for your payment!
When processing completes, your L$ balance will be credited. If your payment takes more than 20 minutes to complete, the purchase amount will be credited to your account for use on your next purchase.
Payment status can be checked on your Transaction History page at SecondLife.com.
</notification>
<notification
icon="notify.tga"
name="FirstSit"