diff --git a/public/assets/common.js b/public/assets/common.js index 8f70aa2..3fe6f99 100644 --- a/public/assets/common.js +++ b/public/assets/common.js @@ -52,8 +52,11 @@ window.IAP = (function () { const el = $('navWallet'); if (!el) return; if (me.signedIn) { - el.innerHTML = (me.memberId ? 'member #' + me.memberId + ' ' : '') - + '' + me.address.slice(0, 6) + '…' + me.address.slice(-4) + ''; + // email-only members have no wallet address yet + const who = me.address + ? '' + me.address.slice(0, 6) + '…' + me.address.slice(-4) + '' + : (me.email ? String(me.email).replace(/[&<>]/g, '') : 'signed in'); + el.innerHTML = (me.memberId ? 'member #' + me.memberId + ' ' : '') + who; } else { el.innerHTML = 'Sign in'; } diff --git a/public/contract.html b/public/contract.html index 4e825d9..98aa52d 100644 --- a/public/contract.html +++ b/public/contract.html @@ -5,7 +5,7 @@ The contract | InstantAdPay - +
@@ -129,8 +129,8 @@
Advertising services with a performance referral program. Not an investment product; no income guarantees. Crypto transactions are irreversible. Never spend what you cannot afford.
- - - + + + diff --git a/public/index.html b/public/index.html index 042539e..1295f20 100644 --- a/public/index.html +++ b/public/index.html @@ -5,7 +5,7 @@ InstantAdPay: advertise and earn, locked in code - + @@ -398,9 +398,9 @@ - - - - + + + + diff --git a/public/ledger.html b/public/ledger.html index 851cc2b..9fea010 100644 --- a/public/ledger.html +++ b/public/ledger.html @@ -5,7 +5,7 @@ Live ledger | InstantAdPay - +
@@ -25,8 +25,8 @@
InstantAdPay · how it works · contract source ↗
- - - + + + diff --git a/public/my.html b/public/my.html index 876193a..2c9d023 100644 --- a/public/my.html +++ b/public/my.html @@ -4,7 +4,7 @@ My account | InstantAdPay - +
@@ -160,9 +160,9 @@
- - - - + + + +