mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-09-28 04:09:05 +00:00
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:
parent
4770beea39
commit
141d955f52
5 changed files with 37 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue