@{
Layout = null;
var loc = SharedLibraryCore.Utilities.CurrentLocalization.LocalizationIndex;
}
@model SharedLibraryCore.Dtos.PenaltyInfo
@loc["WEBFRONT_PENALTY_TEMPLATE_NAME"] |
|
@loc["WEBFRONT_PENALTY_TEMPLATE_TYPE"] |
@Model.PenaltyType
|
@loc["WEBFRONT_PENALTY_TEMPLATE_OFFENSE"] |
|
@loc["WEBFRONT_PENALTY_TEMPLATE_ADMIN"] |
@Html.ActionLink(SharedLibraryCore.Utilities.StripColors(Model.PunisherName), "ProfileAsync",
"Client",
new { id = Model.PunisherId },
new { @class = !ViewBag.Authorized && ViewBag.EnablePrivilegedUserPrivacy
? "level-color-0"
: "level-color-" + (int)Model.PunisherLevel })
|
@loc["WEBFRONT_PENALTY_TEMPLATE_TIME"] |
@{
if (Model.Expired)
{
@Model.TimePunishedString
}
else
{
@Model.TimeRemaining
}
}
|
|
@Model.PenaltyType
|
|
@Html.ActionLink(SharedLibraryCore.Utilities.StripColors(Model.PunisherName), "ProfileAsync",
"Client",
new { id = Model.PunisherId },
new { @class = !ViewBag.Authorized && ViewBag.EnablePrivilegedUserPrivacy
? "level-color-0"
: "level-color-" + (int)Model.PunisherLevel })
|
@{
if (Model.Expired)
{
@Model.TimePunishedString
}
else
{
@Model.TimeRemaining
}
}
|