Hide real name if u.marks.troll
Making it consistent with biography
This commit is contained in:
parent
28b4e60123
commit
91c4a8125b
|
@ -209,7 +209,7 @@ It's useful against spambots. These marks are not visible to the public."""
|
|||
)
|
||||
),
|
||||
ctx.noKid option frag(
|
||||
profile.nonEmptyRealName.map { name =>
|
||||
profile.nonEmptyRealName.ifTrue(!u.marks.troll || ctx.is(u)).map { name =>
|
||||
strong(cls := "name")(name)
|
||||
},
|
||||
profile.nonEmptyBio.ifTrue(!u.marks.troll || ctx.is(u)).map { bio =>
|
||||
|
|
Loading…
Reference in a new issue