diff --git a/ProjectLighthouse.Servers.Website/Pages/Partials/CommentsPartial.cshtml b/ProjectLighthouse.Servers.Website/Pages/Partials/CommentsPartial.cshtml index 349ee6b5..4c1a6c1d 100644 --- a/ProjectLighthouse.Servers.Website/Pages/Partials/CommentsPartial.cshtml +++ b/ProjectLighthouse.Servers.Website/Pages/Partials/CommentsPartial.cshtml @@ -1,4 +1,4 @@ -@using System.Web +@using System.Web @using System.IO @using LBPUnion.ProjectLighthouse.Localization @using LBPUnion.ProjectLighthouse.PlayerData.Profiles @@ -26,7 +26,7 @@ Comments are disabled. } - else if (Model.Comments.Count > 50) + else if (Model.Comments.Count >= 50) {
There are more than 50 comments. Displaying the newest ones.
} @@ -36,7 +36,7 @@There @(count == 1 ? "is" : "are") @count comment@(count == 1 ? "" : "s").
} - @if (Model.CommentsEnabled && Model.User != null) + @if (!Model.ProfileUser.IsBanned && Model.CommentsEnabled && Model.User != null) {