bank landing: drop GOA:0 balance line from auto-account UI

This commit is contained in:
Hernâni Marques 2026-07-10 16:22:00 +02:00
parent 833567947a
commit 403d0f40b0
No known key found for this signature in database

View file

@ -827,8 +827,7 @@
<h2>Own bank account?</h2> <h2>Own bank account?</h2>
<p class="own-acct-lead"> <p class="own-acct-lead">
We can <strong>create a personal bank account for you</strong> automatically We can <strong>create a personal bank account for you</strong> automatically
(you do not pick a username or password). Balance starts at (you do not pick a username or password) — separate from the shared pool.
<strong>GOA:0</strong> — separate from the shared pool.
</p> </p>
<div class="more-actions" style="margin-bottom:0.75rem"> <div class="more-actions" style="margin-bottom:0.75rem">
<button type="button" class="cta teal" id="auto-account-btn"> <button type="button" class="cta teal" id="auto-account-btn">
@ -839,13 +838,12 @@
<p class="own-acct-warn" role="status"> <p class="own-acct-warn" role="status">
<strong>Created for you.</strong> <strong>Created for you.</strong>
Copy these credentials now — they are not stored for recovery. Copy these credentials now — they are not stored for recovery.
Login at the bank UI; balance is <strong>GOA:0</strong>. Login at the bank UI.
</p> </p>
<dl class="own-acct-dl"> <dl class="own-acct-dl">
<div><dt>Name</dt><dd><code id="auto-account-name"></code></dd></div> <div><dt>Name</dt><dd><code id="auto-account-name"></code></dd></div>
<div><dt>Username</dt><dd><code id="auto-account-user"></code></dd></div> <div><dt>Username</dt><dd><code id="auto-account-user"></code></dd></div>
<div><dt>Password</dt><dd><code id="auto-account-pass"></code></dd></div> <div><dt>Password</dt><dd><code id="auto-account-pass"></code></dd></div>
<div><dt>Balance</dt><dd><code id="auto-account-bal">GOA:0</code></dd></div>
</dl> </dl>
<p class="meta" id="auto-account-status" style="margin:0.5rem 0 0"></p> <p class="meta" id="auto-account-status" style="margin:0.5rem 0 0"></p>
<div class="more-qr" id="auto-account-qr-block" style="margin-top:0.85rem" hidden> <div class="more-qr" id="auto-account-qr-block" style="margin-top:0.85rem" hidden>
@ -1224,17 +1222,14 @@
var n = document.getElementById("auto-account-name"); var n = document.getElementById("auto-account-name");
var u = document.getElementById("auto-account-user"); var u = document.getElementById("auto-account-user");
var p = document.getElementById("auto-account-pass"); var p = document.getElementById("auto-account-pass");
var b = document.getElementById("auto-account-bal");
if (n) n.textContent = d.name || d.display_name || "—"; if (n) n.textContent = d.name || d.display_name || "—";
if (u) u.textContent = d.username || "—"; if (u) u.textContent = d.username || "—";
if (p) p.textContent = d.password || "—"; if (p) p.textContent = d.password || "—";
if (b) b.textContent = d.balance || "GOA:0";
if (st) { if (st) {
st.textContent = st.textContent =
"Account created for you · " + "Account created for you · " +
(d.name || d.username || "") + (d.name || d.username || "") +
" · save username & password · balance " + " · save username & password";
(d.balance || "GOA:0");
} }
/* Fancy QR_Taler: encode bank UI URL (login with credentials above) */ /* Fancy QR_Taler: encode bank UI URL (login with credentials above) */
var qrBlock = document.getElementById("auto-account-qr-block"); var qrBlock = document.getElementById("auto-account-qr-block");