diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000..c63ef1ed --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,5 @@ +image: gitpod/workspace-dotnet + +vscode: + extensions: + - muhammad-sammy.csharp diff --git a/ProjectLighthouse.Servers.Website/Pages/Errors/NotFoundPage.cshtml b/ProjectLighthouse.Servers.Website/Pages/Errors/NotFoundPage.cshtml index ae9af46d..906b3adf 100644 --- a/ProjectLighthouse.Servers.Website/Pages/Errors/NotFoundPage.cshtml +++ b/ProjectLighthouse.Servers.Website/Pages/Errors/NotFoundPage.cshtml @@ -4,8 +4,8 @@ @{ Layout = "Layouts/BaseLayout"; Model.Title = "Not Found"; - Model.Description = "The page was not found."; + Model.Description = "The requested page or resource could not be found."; }
@Model.Description
-This may be due to a lack of permission such as not being signed in, or maybe the page just isn't there.
+You may need to sign in to view this page.
diff --git a/ProjectLighthouse.Servers.Website/Pages/Partials/CommentsPartial.cshtml b/ProjectLighthouse.Servers.Website/Pages/Partials/CommentsPartial.cshtml index 9d239584..349ee6b5 100644 --- a/ProjectLighthouse.Servers.Website/Pages/Partials/CommentsPartial.cshtml +++ b/ProjectLighthouse.Servers.Website/Pages/Partials/CommentsPartial.cshtml @@ -16,12 +16,20 @@ {There are no comments.
} + else if (Model.ProfileUser.IsBanned) + { +Comments are disabled because the user is banned.
+ } else if (!Model.CommentsEnabled) { Comments are disabled. } + else if (Model.Comments.Count > 50) + { +There are more than 50 comments. Displaying the newest ones.
+ } else { int count = Model.Comments.Count; diff --git a/ProjectLighthouse.Servers.Website/Pages/UserPage.cshtml b/ProjectLighthouse.Servers.Website/Pages/UserPage.cshtml index 9785b060..c1cac229 100644 --- a/ProjectLighthouse.Servers.Website/Pages/UserPage.cshtml +++ b/ProjectLighthouse.Servers.Website/Pages/UserPage.cshtml @@ -23,18 +23,21 @@ @if (Model.ProfileUser.IsBanned) {- Note: Only you and other moderators may view the ban reason. + Only you and other moderators may view the ban reason.
} else { -For shame...
+Users who violate our Community Guidelines will be moderated. Be sure to follow the rules!
}