@{
if (Model.Meta.Count == 0)
diff --git a/WebfrontCore/Views/Server/_ClientActivity.cshtml b/WebfrontCore/Views/Server/_ClientActivity.cshtml
index 349cfa079..b7f4f2b42 100644
--- a/WebfrontCore/Views/Server/_ClientActivity.cshtml
+++ b/WebfrontCore/Views/Server/_ClientActivity.cshtml
@@ -6,14 +6,22 @@
}
@{
- for (int i = 0; i < half && i < Model.ChatHistory.Count; i++)
+ for (int i = 0; i < Model.ChatHistory.Length; i++)
{
string message = "– " + @Model.ChatHistory[i].Message;
if (Model.ChatHistory[i].Message == "CONNECTED")
- message = "";
- else if (Model.ChatHistory[i].Message == "DISCONNECTED")
- message = "";
- @Html.ActionLink(Model.Players[i].Name, "ProfileAsync", "Client", new { id = Model.Players[i].ClientId }, new { @class = "text-muted" }) @Html.Raw(@message)
+ {
+ @Model.ChatHistory[i].Name
+ }
+ if (Model.ChatHistory[i].Message == "DISCONNECTED")
+ {
+
+ @Model.ChatHistory[i].Name
+ }
+ if (Model.ChatHistory[i].Message != "CONNECTED" && Model.ChatHistory[i].Message != "DISCONNECTED")
+ {
+ @Model.ChatHistory[i].Name @Html.Raw(@message)
+ }
}
}
diff --git a/WebfrontCore/Views/Shared/_Layout.cshtml b/WebfrontCore/Views/Shared/_Layout.cshtml
index 36870ab2c..ba72e3f1c 100644
--- a/WebfrontCore/Views/Shared/_Layout.cshtml
+++ b/WebfrontCore/Views/Shared/_Layout.cshtml
@@ -9,6 +9,10 @@
+
+
+
+
@@ -24,7 +28,7 @@
@Html.ActionLink("Admins", "PrivilegedAsync", "Client", new { area = "" }, new { @class = "nav-link" })