Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
Merge 0845a97 into b708f22
Browse files Browse the repository at this point in the history
  • Loading branch information
prwelber committed Apr 23, 2018
2 parents b708f22 + 0845a97 commit d10831d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
10 changes: 8 additions & 2 deletions app/partials/coinify/recurring-confirm.pug
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
.flex-column
.f-18.mb-15.em-400
span.f-18.mb-15.em-400(translate="{{ 'RECURRING_CONFIRM' + '.' + $ctrl.state + '.' + 'HEADER' }}")
.f-14.em-300
div(ng-if="$ctrl.state === 'PROCEED'")
span.f-14.em-300(translate="RECURRING_CONFIRM.TERMS")
.f-14.em-300(ng-if="$ctrl.state !== 'PROCEED'")
span.f-14.em-300(ng-if="!$ctrl.endTime" translate="{{ 'RECURRING_CONFIRM' + '.' + $ctrl.state + '.' + 'BODY' }}" translate-values="{timing: $ctrl.recurringTiming()}")
span.f-14.em-300(ng-if="$ctrl.endTime" translate="{{ 'RECURRING_CONFIRM' + '.' + $ctrl.state + '.' + 'BODY_WITH_ENDTIME' }}" translate-values="{timing: $ctrl.recurringTiming(), end: $ctrl.endTime.toDateString()}")
.flex-row.flex-align-start.mt-20(ng-if="$ctrl.state === 'PROCEED'")
div
input(type="checkbox" id="$ctrl.recurringCheck" name="$ctrl.recurringCheck" ng-model="$ctrl.recurringCheck")
label.pl-5.em-400(translate="ACCEPT_COINIFY_TOS" for="$ctrl.recurringCheck")
.modal-footer.flex-end.flex-row
.flex-1.flex-end
button.button-muted.mrm(ng-if="$ctrl.state !== 'NEEDS_TRADES'" ng-click="$ctrl.onCancel()" translate="GO_BACK")
button.button-primary(ng-if="$ctrl.state !== 'NEEDS_TRADES'" translate="{{ 'RECURRING_CONFIRM' + '.' + $ctrl.state + '.' + 'BUTTON' }}" ng-click="$ctrl.onProceed()")
button.button-primary(ng-if="$ctrl.state !== 'NEEDS_TRADES'" translate="{{ 'RECURRING_CONFIRM' + '.' + $ctrl.state + '.' + 'BUTTON' }}" ng-disabled="$ctrl.state === 'PROCEED' ? !$ctrl.recurringCheck : false" ng-click="$ctrl.onProceed()")
button.button-primary(ng-if="$ctrl.state === 'NEEDS_TRADES'" translate="{{ 'RECURRING_CONFIRM' + '.' + $ctrl.state + '.' + 'BUTTON' }}" ng-click="$ctrl.onCancel()")
7 changes: 6 additions & 1 deletion locales/en-human.json
Original file line number Diff line number Diff line change
Expand Up @@ -1029,6 +1029,7 @@
"CHANGE_EMAIL": "Want to change your email address?&nbsp;<a>Click here.</a>",
"PARTNER": "<span class='success'>Email Verified!</span> Our partner Coinify will process your bitcoin transaction. By clicking 'Continue' you will create an account with Coinify. Your account will be associated with your verified email address <span class='em-500'>{{::email}}</span>.",
"ACCEPT_PARTNER_TOS_PRIVACY": "Accept our <a href='https://www.blockchain.com/terms' target='_blank' rel='noopener noreferrer'>Terms of Service</a>, Coinify's <a href='https://www.coinify.com/legal' target='_blank' rel='noopener noreferrer'>Terms of Service</a> and <a href='https://www.coinify.com/legal/policy' target='_blank' rel='noopener noreferrer'>Privacy Policy</a>",
"ACCEPT_COINIFY_TOS": "Accept Coinify's <a href='https://www.coinify.com/legal' target='_blank' rel='noopener noreferrer'>Terms of Service</a> and <a href='https://www.coinify.com/legal/policy' target='_blank' rel='noopener noreferrer'>Privacy Policy</a>",
"EMAIL_IN_USE": "{{::email}} is already in use. ",
"CLICK_TO_CHANGE": "Click here to change it.",
"METHOD": "Method",
Expand Down Expand Up @@ -2129,24 +2130,28 @@
"NEEDS_KYC_AND_TRADES": {
"HEADER": "Verify Your Identity and Complete 3 Orders",
"BODY": "To unlock the recurring buy feature, verify your identity and complete 3 credit card orders.",
"BODY_WITH_ENDTIME": "@:RECURRING_CONFIRM.NEEDS_KYC_AND_TRADES.BODY",
"BUTTON": "Proceed To Verify My Identity"
},
"NEEDS_KYC": {
"HEADER": "Verify Your Identity",
"BODY": "To set up a recurring order, you first need to verify your identity",
"BODY_WITH_ENDTIME": "@:RECURRING_CONFIRM.NEEDS_KYC.BODY",
"BUTTON": "Proceed To Verify My Identity"
},
"NEEDS_TRADES": {
"HEADER": "Complete 3 Orders",
"BODY": "To set up Recurring Orders you first need to complete 3 credit card orders with the same card.",
"BODY_WITH_ENDTIME": "@:RECURRING_CONFIRM.NEEDS_TRADES.BODY",
"BUTTON": "Close"
},
"PROCEED": {
"HEADER": "You're About To Set Up A Recurring Order",
"BODY": "This Recurring Order will happen today and every {{::timing}} until you cancel or reach your limit, whichever happens first.",
"BODY_WITH_ENDTIME": "This Recurring Order will happen today and every {{::timing}} until {{::end}} or you reach your limit, whichever happens first.",
"BUTTON": "Proceed with my Order"
}
},
"TERMS": "By scheduling this Recurring Order, you agree to and accept that your card will be charged each time a new order is due to be processed according to the amount, currency, and frequency settings chosen."
},
"RECURRING_NEXT_SCHEDULED": "Your Next Recurring Order is Scheduled",
"RECURRING_NEXT_TRADE": "This order will happen every <span class='em-300'>{{::timespan}}</span>",
Expand Down

0 comments on commit d10831d

Please sign in to comment.