@using WebfrontCore.ViewModels @model IEnumerable

@ViewBag.Localization["WEBFRONT_LIVE_RADAR_TITLE"]

@{ var menuItems = new SideContextMenuItems { MenuTitle = ViewBag.Localization["WEBFRONT_CONTEXT_MENU_GLOBAL_GAME"], Items = Model.Select(server => new SideContextMenuItem { IsLink = true, // ReSharper disable Mvc.ActionNotResolved // ReSharper disable Mvc.ControllerNotResolved Reference = Url.Action("Index", "Radar", new { serverId = server.Endpoint }), Title = server.Name.StripColors(), IsActive = ViewBag.SelectedServerId == server.Endpoint }).ToList() }; }
@section scripts { }