diff --git a/WebfrontCore/Views/Action/_ActionForm.cshtml b/WebfrontCore/Views/Action/_ActionForm.cshtml index 961041aae..c2dd3fd3f 100644 --- a/WebfrontCore/Views/Action/_ActionForm.cshtml +++ b/WebfrontCore/Views/Action/_ActionForm.cshtml @@ -61,6 +61,6 @@ }
- Close + Close
diff --git a/WebfrontCore/Views/Client/Profile/Index.cshtml b/WebfrontCore/Views/Client/Profile/Index.cshtml index 76bdfdf9f..72a2689ac 100644 --- a/WebfrontCore/Views/Client/Profile/Index.cshtml +++ b/WebfrontCore/Views/Client/Profile/Index.cshtml @@ -297,6 +297,17 @@ Icon = "oi-flag" }); } + + if (Model.LevelInt < (int)ViewBag.User.Level && Model.Online) + { + menuItems.Items.Add(new SideContextMenuItem + { + Title = "Kick", + IsButton = true, + Reference = "kick", + Icon = "oi-circle-x", + }); + } if ((Model.LevelInt < (int)ViewBag.User.Level && !Model.HasActivePenalty || isTempBanned) && ViewBag.Authorized) { diff --git a/WebfrontCore/Views/Shared/_Layout.cshtml b/WebfrontCore/Views/Shared/_Layout.cshtml index 1373b8995..02a281831 100644 --- a/WebfrontCore/Views/Shared/_Layout.cshtml +++ b/WebfrontCore/Views/Shared/_Layout.cshtml @@ -139,12 +139,10 @@ -
@await RenderSectionAsync("targetid", required: false)
-