Website QOL Changes (#646)

so Mike stops complaining about the neglected mod menu - sudokoko

Co-authored-by: Dagg <daggintosh@outlook.com>
This commit is contained in:
koko 2023-01-26 18:29:54 -05:00 committed by GitHub
commit 141d955f52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 37 additions and 8 deletions

View file

@ -16,12 +16,20 @@
{
<p>There are no comments.</p>
}
else if (Model.ProfileUser.IsBanned)
{
<p>Comments are disabled because the user is banned.</p>
}
else if (!Model.CommentsEnabled)
{
<b>
<i>Comments are disabled.</i>
</b>
}
else if (Model.Comments.Count > 50)
{
<p>There are more than 50 comments. Displaying the newest ones.</p>
}
else
{
int count = Model.Comments.Count;