mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-13 00:31:28 +00:00
Make banned warning on UserPage look prettier
This commit is contained in:
parent
b62117669d
commit
1ba31fb8ed
1 changed files with 6 additions and 4 deletions
|
@ -17,12 +17,14 @@
|
|||
@if (Model.ProfileUser.Banned)
|
||||
{
|
||||
<div class="ui inverted red segment">
|
||||
<p>
|
||||
<b>User is currently banned!</b>
|
||||
</p>
|
||||
<h2>User is currently banned!</h2>
|
||||
@if (Model.User != null && Model.User.IsAdmin)
|
||||
{
|
||||
<p>Reason: @Model.ProfileUser.BannedReason</p>
|
||||
<b>Reason:</b>
|
||||
<span>"@Model.ProfileUser.BannedReason"</span>
|
||||
<p>
|
||||
<i>Note: Only you and other admins may view the ban reason.</i>
|
||||
</p>
|
||||
<a class="ui inverted button" href="/admin/user/@Model.ProfileUser.UserId/unban">
|
||||
<i class="ban icon"></i>
|
||||
<span>Unban User</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue