
-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
28 lines
744 B
TypeScript
28 lines
744 B
TypeScript
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>
|
|
);
|
|
}
|