@model SharedLibraryCore.Dtos.PlayerInfo @{ string match = System.Text.RegularExpressions.Regex.Match(Model.Name.ToUpper(), "[A-Z]").Value; string shortCode = match == string.Empty ? "?" : match; }
@shortCode
@if (Model.Online) { } else { }
@Model.Name
@{ if (ViewBag.Authorized) {
@if (Model.LevelInt < (int)ViewBag.User.Level && (SharedLibraryCore.Objects.Player.Permission)Model.LevelInt != SharedLibraryCore.Objects.Player.Permission.Banned) { } @if (Model.LevelInt < (int)ViewBag.User.Level && (SharedLibraryCore.Objects.Player.Permission)Model.LevelInt == SharedLibraryCore.Objects.Player.Permission.Banned) { }
@{ foreach (string alias in Model.Aliases) { @alias
} if (ViewBag.Authorized) { foreach (string ip in Model.IPs) { @ip
} } }
} }
@Model.Level
Played @Model.TimePlayed hours
First seen @Model.FirstSeen ago
Last seen @Model.LastSeen ago
@{ if (Model.Meta.Count == 0) { No recent events } }
@section targetid { } @section scripts { }