bank landing: drop GOA:0 balance line from auto-account UI
This commit is contained in:
parent
833567947a
commit
403d0f40b0
1 changed files with 3 additions and 8 deletions
|
|
@ -827,8 +827,7 @@
|
|||
<h2>Own bank account?</h2>
|
||||
<p class="own-acct-lead">
|
||||
We can <strong>create a personal bank account for you</strong> automatically
|
||||
(you do not pick a username or password). Balance starts at
|
||||
<strong>GOA:0</strong> — separate from the shared pool.
|
||||
(you do not pick a username or password) — separate from the shared pool.
|
||||
</p>
|
||||
<div class="more-actions" style="margin-bottom:0.75rem">
|
||||
<button type="button" class="cta teal" id="auto-account-btn">
|
||||
|
|
@ -839,13 +838,12 @@
|
|||
<p class="own-acct-warn" role="status">
|
||||
<strong>Created for you.</strong>
|
||||
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>
|
||||
<dl class="own-acct-dl">
|
||||
<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>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>
|
||||
<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>
|
||||
|
|
@ -1224,17 +1222,14 @@
|
|||
var n = document.getElementById("auto-account-name");
|
||||
var u = document.getElementById("auto-account-user");
|
||||
var p = document.getElementById("auto-account-pass");
|
||||
var b = document.getElementById("auto-account-bal");
|
||||
if (n) n.textContent = d.name || d.display_name || "—";
|
||||
if (u) u.textContent = d.username || "—";
|
||||
if (p) p.textContent = d.password || "—";
|
||||
if (b) b.textContent = d.balance || "GOA:0";
|
||||
if (st) {
|
||||
st.textContent =
|
||||
"Account created for you · " +
|
||||
(d.name || d.username || "") +
|
||||
" · save username & password · balance " +
|
||||
(d.balance || "GOA:0");
|
||||
" · save username & password";
|
||||
}
|
||||
/* Fancy QR_Taler: encode bank UI URL (login with credentials above) */
|
||||
var qrBlock = document.getElementById("auto-account-qr-block");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue