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

Commit f8e676e

Browse files
committed
add checkbox to buy wizard
1 parent 843cc1c commit f8e676e

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

css/obBase.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3121,6 +3121,7 @@ input[type="checkbox"].fieldItem + label:before {
31213121
box-shadow: none;
31223122
opacity: 1;
31233123
font-size: 1.5em;
3124+
vertical-align: middle;
31243125
}
31253126

31263127
input[type="checkbox"].fieldItem + label.compact {
@@ -3132,6 +3133,10 @@ input[type="checkbox"].fieldItem + label.compact:before {
31323133
left: 0;
31333134
}
31343135

3136+
input[type="checkbox"].fieldItem.thin + label {
3137+
line-height: inherit;
3138+
}
3139+
31353140
input[type="checkbox"].fieldItem:checked + label:before {
31363141
content: "\f374";
31373142
}

js/languages/en-US.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@
325325
"PriceForOne": "Price per single item, file, or service.",
326326
"Avatar": "Avatar",
327327
"AdditionalPaymentData": "Additional payment data",
328-
"AdditionalPaymentDataInfo": "Include message and label in payment QR code.",
328+
"AdditionalPaymentDataInfo": "Include name of purchase and order number in payment QR code?",
329329
"firewall": {
330330
"Open": "Open",
331331
"Restricted": "Restricted",

js/templates/buyWizard.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,19 @@ <h3 class="txt-bright padding30"><%= polyglot.t('CheckExchanges') %> </h3>
2323
</div>
2424
</div>
2525
<div class="modal-hero modal-heroFullHeightNoButtons padding40 js-buyWizardPay hide background1">
26-
<div class="width100 padding20">
26+
<div class="width100 row20">
2727
<img class="blockCenter qrCode js-buyWizardPayQRCode" height="250" width="250" src="imgs/defaultItem.png"/>
2828
</div>
2929
<div class="txt-bright pad20">
3030
<div class="txt-center row10 textSize20px">
3131
<%= polyglot.t('buyFlow.SendBTCtoAddress', {amount: '<span class="js-buyWizardDetailsTotalBTC"></span>'}) %>
3232
</div>
33-
<div class="txt-center row20">
33+
<div class="txt-center row10">
3434
<a class="textSize16px js-buyWizardPayLink"><span class="js-buyWizardPayURL"></span></a>
3535
</div>
36+
<div class="txt-center row10">
37+
<input type="checkbox" class="textSize11px fieldItem thin" id="BuyWizardQRDetailsInput"><label for="BuyWizardQRDetailsInput"> <%= polyglot.t('AdditionalPaymentDataInfo') %></label></input>
38+
</div>
3639
<a class="btn btn-txt btn-wide row10 js-buyWizardPayCopy"><i class="ion-clipboard"></i> <%= polyglot.t('buyFlow.CopyAddress') %></a>
3740
<a class="btn btn-txt btn-wide row10 js-buyWizardPayLink"><i class="ion-link"></i> <%= polyglot.t('buyFlow.OpenAddress') %></a>
3841
<a class="btn btn-txt btn-wide js-buyWizardPayCheck"><i class="ion-refresh"></i> <%= polyglot.t('buyFlow.RefreshPayment') %></a>

js/templates/userPage.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
<div class="ctrlGroup js-pageCustomizationButtons js-userPageControls hide">
2727
<a class="btn btn-txt custCol-primary js-saveCustomization">
2828
<span class="ion-checkmark fontSize11 marginRight2 textOpacity1"></span>
29-
<% console.log(config.keyShortcuts) %>
3029
<%= polyglot.t('SaveChanges') %> (<%= config.keyShortcutPrefix + config.keyShortcuts.save.toUpperCase() %>)
3130
</a>
3231
</div>

0 commit comments

Comments
 (0)