diff options
author | Sebastian <sebasjm@gmail.com> | 2022-02-18 16:54:15 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-02-18 16:55:38 -0300 |
commit | 606be7577be2bd249f19204d0c80b3b48e3065ca (patch) | |
tree | 1d3d72940cf590e1a643692046b43e2ac41354b3 /packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx | |
parent | 2b2b8c160870d0c7e8fbcebca8b1ac157d93033b (diff) | |
download | wallet-core-606be7577be2bd249f19204d0c80b3b48e3065ca.tar.xz |
some fixes
-fix fulfillment messages
-fix product list pricing and image on payment
-filter exchange by currency on withdrawal
-error message on operation error on withdrawal
-add taler url on balance page (just for dev)
-add no balance help
-better text when doing manual withdraw for the firt time
-removed balance from wallet (just history)
-removed pending page
Diffstat (limited to 'packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx b/packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx new file mode 100644 index 000000000..baff0aadf --- /dev/null +++ b/packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx @@ -0,0 +1,27 @@ +import { i18n } from "@gnu-taler/taler-util"; +import { h, VNode } from "preact"; +import { ButtonBoxWarning, WarningBox } from "../components/styled"; + +export function NoBalanceHelp({ + goToWalletManualWithdraw, +}: { + goToWalletManualWithdraw: () => void; +}): VNode { + return ( + <WarningBox> + <p> + <b> + <i18n.Translate>You have no balance to show.</i18n.Translate> + </b> + <br /> + <i18n.Translate> + To withdraw money you can start from your bank site or click the + "withdraw" button to use a known exchange. + </i18n.Translate> + </p> + <ButtonBoxWarning onClick={() => goToWalletManualWithdraw()}> + Withdraw + </ButtonBoxWarning> + </WarningBox> + ); +} |