[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant-backoffice] branch master updated: optional content
From: |
gnunet |
Subject: |
[taler-merchant-backoffice] branch master updated: optional content |
Date: |
Thu, 26 May 2022 15:58:06 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository merchant-backoffice.
The following commit(s) were added to refs/heads/master by this push:
new e0a799b optional content
e0a799b is described below
commit e0a799b765a0b6643e8715343371e19b645fe2dc
Author: ms <ms@taler.net>
AuthorDate: Thu May 26 15:57:57 2022 +0200
optional content
---
packages/bank/src/pages/home/index.tsx | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/packages/bank/src/pages/home/index.tsx
b/packages/bank/src/pages/home/index.tsx
index 734916d..f72106a 100644
--- a/packages/bank/src/pages/home/index.tsx
+++ b/packages/bank/src/pages/home/index.tsx
@@ -1690,16 +1690,19 @@ export function BankHome(): VNode {
var regMsg = function () {
// @ts-ignore
if (__LIBEUFIN_UI_ALLOW_REGISTRATIONS__) {
- return (
- <p><Translate>If you are a new customer please
+ return (<Fragment>
+ <p><Translate>If you are a new customer please
<a href="#" onClick={() =>
{pageStateSetter((prevState) =>
({...prevState, tryRegister: true}))}}>register!</a>
- Registration is fast and free, and it gives
- you a registration bonus of 100 <Currency /></Translate></p>);
- }
- }
-
+ </Translate></p>{
+ maybeDemoContent(<p><Translate>Registration is fast and
+ free, and it gives you a registration bonus of 100 <Currency />
+ </Translate></p>)
+ /*close JS block of optional content*/ }
+ </Fragment>); // close return of registrations allowance.
+ } // close 'then' branch of registrations allowance.
+ } // close helper function.
return (
<PageContext.Provider value={[pageState, pageStateSetter]}>
<BankFrame>
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant-backoffice] branch master updated: optional content,
gnunet <=