mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-08 04:48:44 +00:00
Highlight moderator/administrator user account links (#670)
This commit is contained in:
parent
84325596ee
commit
30cffef2f2
1 changed files with 18 additions and 1 deletions
|
@ -10,5 +10,22 @@
|
|||
|
||||
<a href="/user/@Model.UserId" title="@userStatus" class="user-link">
|
||||
<img src="/gameAssets/@Model.WebsiteAvatarHash" alt=""/>
|
||||
@Model.Username
|
||||
|
||||
@if (Model.IsAdmin)
|
||||
{
|
||||
<span style="color: red; font-weight: 600;">
|
||||
@Model.Username
|
||||
</span>
|
||||
}
|
||||
else if (Model.IsModerator)
|
||||
{
|
||||
<span style="color: rgb(200, 130, 0); font-weight: 600;">
|
||||
@Model.Username
|
||||
</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
@Model.Username
|
||||
}
|
||||
|
||||
</a>
|
Loading…
Add table
Add a link
Reference in a new issue