1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-07-04 02:48:21 -05:00

improve ban management display and additional translations

This commit is contained in:
RaidMax
2022-07-09 16:32:23 -05:00
parent c9b33d3097
commit 3b74953c01
5 changed files with 35 additions and 21 deletions

View File

@ -55,7 +55,7 @@
</a>
</div>
<div class="mt-5 mb-5 penalties-color-@Model.PenaltyTypeText.ToLower()">
@Model.PenaltyType
@ViewBag.Localization[$"WEBFRONT_PENALTY_{Model.PenaltyType.ToString().ToUpper()}"]
</div>
<div class="mt-5 mb-5">
<color-code value="@($"{Model.Offense}{(ViewBag.Authorized ? Model.AdditionalPenaltyInformation : "")}")"></color-code>