@{ Layout = null; var loc = SharedLibraryCore.Utilities.CurrentLocalization.LocalizationIndex; } @model SharedLibraryCore.Dtos.PenaltyInfo @loc["WEBFRONT_PENALTY_TEMPLATE_NAME"] @Html.ActionLink(Model.OffenderName, "ProfileAsync", "Client", new { id = Model.OffenderId }, new { @class = "link-inverse" }) @loc["WEBFRONT_PENALTY_TEMPLATE_TYPE"] @Model.Type @loc["WEBFRONT_PENALTY_TEMPLATE_OFFENSE"] @Model.Offense @loc["WEBFRONT_PENALTY_TEMPLATE_ADMIN"] @Html.ActionLink(Model.PunisherName, "ProfileAsync", "Client", new { id = Model.PunisherId }, new { @class = "level-color-" + Model.PunisherLevelId }) @loc["WEBFRONT_PENALTY_TEMPLATE_TIME"] @{ if (Model.TimeRemaining == string.Empty) { @Model.TimePunished @loc["WEBFRONT_PENALTY_TEMPLATE_AGO"] } else { @Model.TimeRemaining } } @Html.ActionLink(Model.OffenderName, "ProfileAsync", "Client", new { id = Model.OffenderId }, new { @class = "link-inverse" }) @Model.Type @Model.Offense @Html.ActionLink(Model.PunisherName, "ProfileAsync", "Client", new { id = Model.PunisherId }, new { @class = "level-color-" + Model.PunisherLevelId }) @{ if (Model.TimeRemaining == string.Empty) { @Model.TimePunished @loc["WEBFRONT_PENALTY_TEMPLATE_AGO"] } else { @Model.TimeRemaining } }