Show user emails to Admins only under spoiler class.
This commit is contained in:
parent
30721d53d6
commit
87d94397e5
2 changed files with 16 additions and 0 deletions
|
|
@ -512,3 +512,15 @@ hr {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.spoiler {
|
||||||
|
text-shadow: gray 0px 0px 15px;
|
||||||
|
color: transparent;
|
||||||
|
-moz-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
cursor: normal;
|
||||||
|
|
||||||
|
&:hover, &:focus {
|
||||||
|
text-shadow: $body-font-color 0px 0px 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -96,6 +96,10 @@ when defined(js):
|
||||||
text $profile.threadCount
|
text $profile.threadCount
|
||||||
dt(text "Rank")
|
dt(text "Rank")
|
||||||
dd(text $profile.user.rank)
|
dd(text $profile.user.rank)
|
||||||
|
if profile.email.isSome():
|
||||||
|
dt(text "Email")
|
||||||
|
dd(class="spoiler"):
|
||||||
|
text profile.email.get()
|
||||||
|
|
||||||
tdiv(class="columns"):
|
tdiv(class="columns"):
|
||||||
tdiv(class="column col-6"):
|
tdiv(class="column col-6"):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue