bank landing: show auto-account created datetime
API returns created; landing displays it once.
This commit is contained in:
parent
403d0f40b0
commit
eacf4f91c8
2 changed files with 8 additions and 2 deletions
|
|
@ -844,6 +844,7 @@
|
|||
<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>Created</dt><dd><code id="auto-account-created">—</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>
|
||||
|
|
@ -1225,6 +1226,11 @@
|
|||
if (n) n.textContent = d.name || d.display_name || "—";
|
||||
if (u) u.textContent = d.username || "—";
|
||||
if (p) p.textContent = d.password || "—";
|
||||
var cEl = document.getElementById("auto-account-created");
|
||||
if (cEl) {
|
||||
cEl.textContent =
|
||||
d.created_human || d.created || "—";
|
||||
}
|
||||
if (st) {
|
||||
st.textContent =
|
||||
"Account created for you · " +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue