1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

add alert/notification functionality (for server connection events and messages)

This commit is contained in:
RaidMax
2022-06-11 11:34:00 -05:00
parent 3475da87bc
commit 5966541039
16 changed files with 579 additions and 21 deletions

View File

@ -279,6 +279,18 @@
EntityId = Model.ClientId
});
}
if (ViewBag.Authorized)
{
menuItems.Items.Add(new SideContextMenuItem
{
Title = "Message",
IsButton = true,
Reference = "OfflineMessage",
Icon = "oi oi-envelope-closed",
EntityId = Model.ClientId
});
}
menuItems.Items.Add(new SideContextMenuItem
{
@ -336,6 +348,7 @@
EntityId = Model.ClientId
});
}
}
<partial name="_SideContextMenu" for="@menuItems"></partial>