2018-02-21 20:29:23 -05:00
|
|
|
@{
|
|
|
|
Layout = null;
|
2018-05-05 18:52:04 -04:00
|
|
|
var loc = SharedLibraryCore.Utilities.CurrentLocalization.LocalizationIndex;
|
2018-02-21 20:29:23 -05:00
|
|
|
}
|
|
|
|
|
2018-04-08 02:44:42 -04:00
|
|
|
@model SharedLibraryCore.Dtos.PenaltyInfo
|
2018-02-21 20:29:23 -05:00
|
|
|
|
2019-03-31 20:56:31 -04:00
|
|
|
<tr class="d-table-row d-lg-none bg-dark">
|
2018-05-05 18:52:04 -04:00
|
|
|
<th scope="row" class="bg-primary">@loc["WEBFRONT_PENALTY_TEMPLATE_NAME"]</th>
|
2018-02-21 20:29:23 -05:00
|
|
|
<td>
|
|
|
|
@Html.ActionLink(Model.OffenderName, "ProfileAsync", "Client", new { id = Model.OffenderId }, new { @class = "link-inverse" })
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2019-03-31 20:56:31 -04:00
|
|
|
<tr class="d-table-row d-lg-none bg-dark">
|
2019-03-30 18:21:01 -04:00
|
|
|
<th scope="row" class="bg-primary">@loc["WEBFRONT_PENALTY_TEMPLATE_TYPE"]</th>
|
2019-03-31 20:56:31 -04:00
|
|
|
<td class="penalties-color-@Model.PenaltyTypeText.ToLower()">
|
2019-03-27 20:40:26 -04:00
|
|
|
@Model.PenaltyType
|
2018-02-21 20:29:23 -05:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2019-03-31 20:56:31 -04:00
|
|
|
<tr class="d-table-row d-lg-none bg-dark">
|
2018-05-05 18:52:04 -04:00
|
|
|
<th scope="row" class="bg-primary">@loc["WEBFRONT_PENALTY_TEMPLATE_OFFENSE"]</th>
|
2018-02-21 20:29:23 -05:00
|
|
|
<td class="text-light">
|
2019-03-31 20:56:31 -04:00
|
|
|
@($"{Model.Offense}{(ViewBag.Authorized ? Model.AdditionalPenaltyInformation : "")}")
|
2018-02-21 20:29:23 -05:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2019-03-31 20:56:31 -04:00
|
|
|
<tr class="d-table-row d-lg-none bg-dark">
|
2018-05-05 18:52:04 -04:00
|
|
|
<th scope="row" class="bg-primary">@loc["WEBFRONT_PENALTY_TEMPLATE_ADMIN"]</th>
|
2018-02-21 20:29:23 -05:00
|
|
|
<td>
|
2019-03-31 20:56:31 -04:00
|
|
|
@Html.ActionLink(Model.PunisherName, "ProfileAsync", "Client", new { id = Model.PunisherId }, new { @class = "level-color-" + (int)Model.PunisherLevel })
|
2018-02-21 20:29:23 -05:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2019-03-31 20:56:31 -04:00
|
|
|
<tr class="d-table-row d-lg-none bg-dark">
|
2018-05-05 18:52:04 -04:00
|
|
|
<th scope="row" class="w-25 bg-primary" style="border-bottom: 1px solid #222">@loc["WEBFRONT_PENALTY_TEMPLATE_TIME"]</th>
|
2018-03-22 14:50:09 -04:00
|
|
|
<td class="text-light mb-2 border-bottom">
|
2018-02-21 20:29:23 -05:00
|
|
|
@{
|
2019-03-31 20:56:31 -04:00
|
|
|
if (Model.Expired)
|
2018-02-21 20:29:23 -05:00
|
|
|
{
|
2019-03-31 20:56:31 -04:00
|
|
|
<span>@Model.TimePunishedString</span>
|
2018-02-21 20:29:23 -05:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2019-03-31 20:56:31 -04:00
|
|
|
<span>@Model.TimeRemaining</span>
|
2018-02-21 20:29:23 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2019-03-31 20:56:31 -04:00
|
|
|
<tr class="d-none d-lg-table-row">
|
2018-02-21 20:29:23 -05:00
|
|
|
<td>
|
|
|
|
@Html.ActionLink(Model.OffenderName, "ProfileAsync", "Client", new { id = Model.OffenderId }, new { @class = "link-inverse" })
|
|
|
|
</td>
|
2019-03-31 20:56:31 -04:00
|
|
|
<td class="penalties-color-@Model.PenaltyTypeText.ToLower()">
|
2019-03-27 20:40:26 -04:00
|
|
|
@Model.PenaltyType
|
2018-02-21 20:29:23 -05:00
|
|
|
</td>
|
2018-04-09 23:33:42 -04:00
|
|
|
<td class="text-light w-50">
|
2019-03-31 20:56:31 -04:00
|
|
|
@($"{Model.Offense}{(ViewBag.Authorized ? Model.AdditionalPenaltyInformation : "")}")
|
2018-02-21 20:29:23 -05:00
|
|
|
</td>
|
|
|
|
<td>
|
2019-03-31 20:56:31 -04:00
|
|
|
@Html.ActionLink(Model.PunisherName, "ProfileAsync", "Client", new { id = Model.PunisherId }, new { @class = "level-color-" + (int)Model.PunisherLevel })
|
2018-02-21 20:29:23 -05:00
|
|
|
</td>
|
|
|
|
<td class="text-right text-light">
|
|
|
|
@{
|
2019-03-31 20:56:31 -04:00
|
|
|
if (Model.Expired)
|
2018-02-21 20:29:23 -05:00
|
|
|
{
|
2019-03-31 20:56:31 -04:00
|
|
|
<span>@Model.TimePunishedString</span>
|
2018-02-21 20:29:23 -05:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2019-03-31 20:56:31 -04:00
|
|
|
<span>@Model.TimeRemaining</span>
|
2018-02-21 20:29:23 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</td>
|
|
|
|
</tr>
|