diff --git a/app/main.py b/app/main.py index 947184d..b838ea9 100644 --- a/app/main.py +++ b/app/main.py @@ -415,10 +415,9 @@ PAGE_HTML = """ Account - Status - Activated + Type Spend - Reset + Budget @@ -797,7 +796,7 @@ function renderMembers() { const kind = String(a.alias).split(':')[0]; const budget = (a.budget === null || a.budget === undefined) ? '—' : fmt(a.budget); return '' + - '' + esc(a.alias) + '' + + '' + esc(a.name || a.alias) + '' + '' + esc(kind) + '' + '' + fmt(a.spend) + '' + '' + budget + '' + @@ -814,10 +813,9 @@ function renderMembers() { const adminTop = m.username || m.email; return '' + '' + esc(adminTop) + '' + (m.username ? '
' + esc(m.email) + '
' : '') + '' + - 'admin' + - '' + (m.activated ? 'yes' : 'pending') + '' + + 'admin' + '' + fmt(memberSpend(m)) + '' + - '' + esc(reset) + '' + + '—' + ''; }).join(''); }