1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

show login token for longer period

This commit is contained in:
RaidMax
2022-04-22 16:56:29 -05:00
parent 19c3ab8a3d
commit 6588f30d77
5 changed files with 24 additions and 26 deletions

View File

@ -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)
{