@model SharedLibrary.Dtos.PlayerInfo @{ string match = System.Text.RegularExpressions.Regex.Match(Model.Name.ToUpper(), "[A-Z]").Value; string shortCode = match == string.Empty ? "?" : match; }
@shortCode

@Model.Name @if (Model.Aliases.Count > 0 || ViewBag.Authorized) { }

@{ 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 scripts { }