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

Commit

Permalink
Merge e2b27e2 into be7e630
Browse files Browse the repository at this point in the history
  • Loading branch information
prwelber committed Apr 23, 2018
2 parents be7e630 + e2b27e2 commit 75fc848
Show file tree
Hide file tree
Showing 2 changed files with 13 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_PARTNER_TOS_PRIVACY" 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()")
6 changes: 5 additions & 1 deletion locales/en-human.json
Original file line number Diff line number Diff line change
Expand Up @@ -2129,24 +2129,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 75fc848

Please sign in to comment.