gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant-backoffice] branch master updated: feat: Update Registra


From: gnunet
Subject: [taler-merchant-backoffice] branch master updated: feat: Update Registration and Login
Date: Sun, 25 Sep 2022 17:12:21 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant-backoffice.

The following commit(s) were added to refs/heads/master by this push:
     new b308ec7  feat: Update Registration and Login
b308ec7 is described below

commit b308ec7371bb59238516648ca4135d92bbc037bf
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Sep 25 17:12:12 2022 +0200

    feat: Update Registration and Login
---
 packages/bank/src/pages/home/index.tsx | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)

diff --git a/packages/bank/src/pages/home/index.tsx 
b/packages/bank/src/pages/home/index.tsx
index cf2de8e..56e3a7e 100644
--- a/packages/bank/src/pages/home/index.tsx
+++ b/packages/bank/src/pages/home/index.tsx
@@ -1359,11 +1359,12 @@ function RegistrationForm(Props: any): VNode {
   // 
https://stackoverflow.com/questions/36683770/how-to-get-the-value-of-an-input-field-using-reactjs
   return (
     <Fragment>
-      <h1 class="nav">{i18n`Registration form`}</h1>
+      <h1 class="nav">{i18n`Welcome to ${__LIBEUFIN_UI_BANK_NAME__}!`}</h1>
       <aside class="sidebar" id="left" />
       <article>
         <div class="register-form">
           <form action="javascript:void(0);" class="pure-form">
+            <h2>{i18n`Please register!`}</h2>
             <p class="unameFieldLabel registerFieldLabel 
formFieldLabel">{i18n`Username:`}</p>
             <input
               type="text"
@@ -1911,19 +1912,7 @@ export function BankHome(): VNode {
    * bank did.)  FIXME: currency needed at startup too.  */
   const regMsg = function () {
     if (__LIBEUFIN_UI_ALLOW_REGISTRATIONS__)
-      return (<Fragment>
-        <p><Translate>If you are a new customer please&nbsp;
-          <a href="#" onClick={() => {
-            pageStateSetter((prevState) =>
-              ({ ...prevState, tryRegister: true }))
-          }}>register!</a>
-          &nbsp;&nbsp;</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.
+      return <span></span>
   } // close helper function.
   return (
     <PageContext.Provider value={[pageState, pageStateSetter]}>

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]