Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 4fc9193

Browse files
authored
Merge pull request #1847 from OpenBazaar/addAltCoinBadge
Add alt coins accepted badge to the purchase wizard.
2 parents c1f14cf + 7816a98 commit 4fc9193

File tree

3 files changed

+26
-5
lines changed

3 files changed

+26
-5
lines changed

imgs/altcoin-accepted.png

7.53 KB
Loading

js/languages/en-US.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,8 @@
341341
"AppBarStyleInfo": "How should the top bar of the application be styled?",
342342
"OSWindows": "Windows",
343343
"OSMac": "Mac",
344+
"PayWithAltCoins": "Alt Coins Accepted Here",
345+
"PayWithBitCoins": "Bitcoin Accepted Here",
344346
"ShippableHelp": "This product can be shipped to one of your currently saved addresses. Add more addresses in the Settings/Addresses section to be able to purchase more listings.",
345347
"firewall": {
346348
"Open": "Open",

js/templates/buyWizard.html

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,12 @@ <h3 class="txt-bright"><%= polyglot.t('buyFlow.paymentSent') %> </h3>
6868
<div class="accordion-child" id="BuyWizardBitcoinWallet">
6969
<div class="bar barTxt h6 paddingLeft15 custCol-secondary">
7070
<%= polyglot.t('buyFlow.BitcoinWallet') %>
71-
<div class="floatRight marginTop9"><img src="imgs/bitcoin-accepted.png" style="width: 80px;" /></div>
71+
<div class="floatRight marginTop9">
72+
<img src="imgs/bitcoin-accepted.png" style="width: 80px;" alt="<%= polyglot.t('PayWithBitCoins') %>" />
73+
</div>
74+
<div class="floatRight marginTop9 marginRight10">
75+
<img src="imgs/altcoin-accepted.png" style="width: 80px;" alt="<%= polyglot.t('PayWithAltCoins') %>" />
76+
</div>
7277
</div>
7378
<div class="flexContainer flex-border customThemeScrollbar homeModal-settings homeModal-settings-noSearch scrollOverflow custCol-primary alignCenter">
7479
<h2 class="margin0 marginTop80"><%= polyglot.t('buyFlow.HaveWallet') %></h2>
@@ -87,7 +92,12 @@ <h2 class="margin0 marginTop80"><%= polyglot.t('buyFlow.HaveWallet') %></h2>
8792
<div class="accordion-child" id="BuyWizardCreateWallet">
8893
<div class="bar barTxt h6 paddingLeft15 custCol-secondary">
8994
<%= polyglot.t('buyFlow.CreateWallet') %>
90-
<div class="floatRight marginTop9"><img src="imgs/bitcoin-accepted.png" style="width: 80px;" /></div>
95+
<div class="floatRight marginTop9">
96+
<img src="imgs/bitcoin-accepted.png" style="width: 80px;" alt="<%= polyglot.t('PayWithBitCoins') %>" />
97+
</div>
98+
<div class="floatRight marginTop9 marginRight10">
99+
<img src="imgs/altcoin-accepted.png" style="width: 80px;" alt="<%= polyglot.t('PayWithAltCoins') %>" />
100+
</div>
91101
</div>
92102
<div class="flexContainer flex-border customThemeScrollbar homeModal-settings homeModal-settings-noSearch scrollOverflow custCol-primary">
93103
<div class="flexRow custCol-border js-BuyWizardWallets">
@@ -237,7 +247,12 @@ <h2 class="margin0 marginTop80"><%= polyglot.t('buyFlow.HaveWallet') %></h2>
237247
<div class="accordion-child" id="BuyWizardPaymentType">
238248
<div class="bar barTxt h6 paddingLeft15 custCol-secondary">
239249
<%= polyglot.t('PaymentType') %>
240-
<div class="floatRight marginTop9"><img src="imgs/bitcoin-accepted.png" style="width: 80px;" /></div>
250+
<div class="floatRight marginTop9">
251+
<img src="imgs/bitcoin-accepted.png" style="width: 80px;" alt="<%= polyglot.t('PayWithBitCoins') %>" />
252+
</div>
253+
<div class="floatRight marginTop9 marginRight10">
254+
<img src="imgs/altcoin-accepted.png" style="width: 80px;" alt="<%= polyglot.t('PayWithAltCoins') %>" />
255+
</div>
241256
</div>
242257
<div class="flexContainer flex-border customThemeScrollbar homeModal-settings homeModal-settings-noSearch scrollOverflow custCol-primary">
243258
<div class="flexRow">
@@ -344,8 +359,12 @@ <h2 class="margin0 marginTop80"><%= polyglot.t('buyFlow.HaveWallet') %></h2>
344359
<div class="accordion-child" id="BuyWizardBTCReturnAddress">
345360
<div class="bar barTxt h6 paddingLeft15 custCol-secondary">
346361
<%= polyglot.t('BitcoinReturnAddress') %>
347-
<div class="floatRight marginTop9"><img src="imgs/bitcoin-accepted.png" style="width: 80px;" /></div>
348-
</div>
362+
<div class="floatRight marginTop9">
363+
<img src="imgs/bitcoin-accepted.png" style="width: 80px;" alt="<%= polyglot.t('PayWithBitCoins') %>" />
364+
</div>
365+
<div class="floatRight marginTop9 marginRight10">
366+
<img src="imgs/altcoin-accepted.png" style="width: 80px;" alt="<%= polyglot.t('PayWithAltCoins') %>" />
367+
</div> </div>
349368
<div class="flexContainer flex-border customThemeScrollbar homeModal-settings homeModal-settings-noSearch scrollOverflow custCol-primary">
350369
<p class="padding15 textOpacity75 margin0"><%= polyglot.t('BitcoinReturnAddressInfo') %></p>
351370
<div class="flexRow">

0 commit comments

Comments
 (0)