@model LOC.Core.Model.Account.Account @{ ViewBag.Title = "Details"; }

Details

Account | @Html.ActionLink("Edit", "Edit", new { id=Model.AccountId }) | @Html.ActionLink("Back to List", "Index")
Name:
@Model.Name

Status:
@if (Model.Banned) { Banned } else { In Good Standing }

Rank:
@(Model.Rank == null ? "None" : Model.Rank.Name)
@if (Model.Rank != null && (Model.Rank.Name == "Member" || Model.Rank.Name == "EliteMember")) {
Rank Expires:
@(DateTime.FromFileTimeUtc(Model.Expires))
}

IpIpAddresses:
@if (Model.IpAddresses != null && Model.IpAddresses.Count > 0) { foreach (var ipAddress in Model.IpAddresses) {
@ipAddress.Address
} } else {
None
}