mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 13:43:06 -04:00
small badges on profile cards
This commit is contained in:
parent
5ec618d2de
commit
106169fb27
3 changed files with 4 additions and 4 deletions
|
@ -56,7 +56,7 @@ module.exports = {
|
|||
|
||||
// Badge Container
|
||||
let b = renderBadges(u)
|
||||
if(b.length >= 1) cardContent += `\n${b.join('')}\n`
|
||||
if(b.length >= 1) cardContent += `\n-# ${b.join('')}\n`
|
||||
|
||||
cardContent += `\n${smallIconPill("id", "User ID")} ${smallPill(u.id)}`;
|
||||
if(u.globalName !== null) cardContent += `\n${smallIconPill("user_card", "Display Name")} ${smallPill(u.globalName)}`
|
||||
|
|
|
@ -38,7 +38,7 @@ module.exports = {
|
|||
|
||||
// Badge Container
|
||||
let b = renderBadges(u)
|
||||
if(b.length >= 1) cardContent += `\n${b.join('')}\n`
|
||||
if(b.length >= 1) cardContent += `\n-# ${b.join('')}\n`
|
||||
|
||||
cardContent += `\n${smallIconPill("id", "User ID")} ${smallPill(u.id)}`;
|
||||
if(u.globalName !== null) cardContent += `\n${smallIconPill("user_card", "Display Name")} ${smallPill(u.globalName)}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue