mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-09-02 15:46:51 +00:00
Add ability to hide comments on levels and profiles
This commit is contained in:
parent
0b8c0cbfb4
commit
8fe9bd4c57
12 changed files with 123 additions and 16 deletions
|
@ -132,6 +132,17 @@
|
|||
<div class="ui fitted hidden divider"></div>
|
||||
}
|
||||
|
||||
@if (Model.ProfileUser.CommentsEnabled)
|
||||
{
|
||||
<div>
|
||||
<a class="ui yellow button" href="/moderation/newCase?type=@((int)CaseType.UserDisableComments)&affectedId=@Model.ProfileUser.UserId">
|
||||
<i class="lock icon"></i>
|
||||
<span>Disable Comments</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="ui fitted hidden divider"></div>
|
||||
}
|
||||
|
||||
<div>
|
||||
<a class="ui red button" href="/moderation/user/@Model.ProfileUser.UserId/wipePlanets">
|
||||
<i class="trash alternate icon"></i>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue