diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-04-23 19:34:30 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-04-27 01:46:24 +0200 |
commit | 942a6227bae7e32db3f92886a47e00dd7c648067 (patch) | |
tree | 255590f55c42a2a7e8b4c7eab0210791688b3a26 /pages/confirm-create-reserve.tsx | |
parent | ba0ef6b6e8a51ba10ceaba02835bd46004110ccf (diff) | |
download | wallet-core-942a6227bae7e32db3f92886a47e00dd7c648067.tar.xz |
wallet style
Diffstat (limited to 'pages/confirm-create-reserve.tsx')
-rw-r--r-- | pages/confirm-create-reserve.tsx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pages/confirm-create-reserve.tsx b/pages/confirm-create-reserve.tsx index 1c3bf7cbb..4b4e19363 100644 --- a/pages/confirm-create-reserve.tsx +++ b/pages/confirm-create-reserve.tsx @@ -194,8 +194,9 @@ function view(ctrl: Controller) { let mx = (x, ...args) => controls.push(m(x, ...args)); mx("p", - i18n`The bank wants to create a reserve over ${amountToPretty( - ctrl.amount)}.`); + i18n.parts`You are about to withdraw ${m("strong", amountToPretty( + ctrl.amount))} from your bank account into your wallet.`); + mx("input", { className: "url", @@ -205,14 +206,16 @@ function view(ctrl: Controller) { oninput: m.withAttr("value", ctrl.onUrlChanged.bind(ctrl)), }); - mx("button", { + mx("br"); + + mx("button.accept", { onclick: () => ctrl.confirmReserve(ctrl.reserveCreationInfo, ctrl.url(), ctrl.amount, ctrl.callbackUrl), disabled: !ctrl.isValidExchange }, - "Confirm exchange selection"); + "Accept fees and withdraw"); if (ctrl.statusString) { mx("p", ctrl.statusString); |