Show username under email in member table
This commit is contained in:
1 parent
30b330aa1a
commit
8785e8650c
1 file changed
+1
-1
+1
-1
@@ -224,7 +224,7 @@ function render(members) {
|
|||||||
const reset = m.reset_at ? m.reset_at.slice(0,10) : '—';
|
const reset = m.reset_at ? m.reset_at.slice(0,10) : '—';
|
||||||
const pill = m.active ? 'active' : 'inactive';
|
const pill = m.active ? 'active' : 'inactive';
|
||||||
return '<tr>' +
|
return '<tr>' +
|
||||||
'<td>' + esc(m.email) + '</td>' +
|
'<td>' + esc(m.email) + (m.username ? '<div style="color:var(--muted);font-size:11px">' + esc(m.username) + '</div>' : '') + '</td>' +
|
||||||
'<td><span class="pill ' + pill + '">' + pill + '</span></td>' +
|
'<td><span class="pill ' + pill + '">' + pill + '</span></td>' +
|
||||||
'<td class="num">' + fmt(m.balance) + '</td>' +
|
'<td class="num">' + fmt(m.balance) + '</td>' +
|
||||||
'<td class="num">' + fmt(m.spend) + '</td>' +
|
'<td class="num">' + fmt(m.spend) + '</td>' +
|
||||||
|
|||||||
Reference in new issue
Block a user