@{
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.PenaltyType
|
@loc["WEBFRONT_PENALTY_TEMPLATE_OFFENSE"] |
@($"{Model.Offense}{(ViewBag.Authorized ? Model.AdditionalPenaltyInformation : "")}")
|
@loc["WEBFRONT_PENALTY_TEMPLATE_ADMIN"] |
@Html.ActionLink(Model.PunisherName, "ProfileAsync", "Client", new { id = Model.PunisherId }, new { @class = "level-color-" + (int)Model.PunisherLevel })
|
@loc["WEBFRONT_PENALTY_TEMPLATE_TIME"] |
@{
if (Model.Expired)
{
@Model.TimePunishedString
}
else
{
@Model.TimeRemaining
}
}
|
@Html.ActionLink(Model.OffenderName, "ProfileAsync", "Client", new { id = Model.OffenderId }, new { @class = "link-inverse" })
|
@Model.PenaltyType
|
@($"{Model.Offense}{(ViewBag.Authorized ? Model.AdditionalPenaltyInformation : "")}")
|
@Html.ActionLink(Model.PunisherName, "ProfileAsync", "Client", new { id = Model.PunisherId }, new { @class = "level-color-" + (int)Model.PunisherLevel })
|
@{
if (Model.Expired)
{
@Model.TimePunishedString
}
else
{
@Model.TimeRemaining
}
}
|