Hide real name if u.marks.troll

Making it consistent with biography
This commit is contained in:
Thomas Daniels 2020-04-23 00:42:14 +02:00
parent 28b4e60123
commit 91c4a8125b

View file

@ -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 =>