1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

persist say command messages with webfront denotation to chat log

per issue #159
This commit is contained in:
RaidMax
2020-11-18 09:08:24 -06:00
parent 73bb43a8b2
commit 1c7e66da44
19 changed files with 1009 additions and 43 deletions

View File

@ -3,7 +3,12 @@
<span class="client-message" data-serverid="@Model.ServerId" data-when="@Model.When.ToFileTimeUtc()">
<span class="oi oi-chevron-right text-white-50 align-middle client-message-prefix" title="@ViewBag.Localization["WEBFRONT_PROFILE_MESSAGE_CONTEXT"]" style="font-size: 0.75rem; margin-top: -0.256rem"></span>
<span class="text-muted @(Model.IsQuickMessage ? "font-weight-bold": "")">
<span class="text-muted @(Model.IsQuickMessage ? "font-weight-bold" : "")">
@if (!Model.SentIngame)
{
<span>[<span class="text-primary">@ViewBag.Localization["WEBFRONT_PROFILE_MESSAGE_EXTERNAL"]</span>]</span>
}
@if (Model.IsHidden && !ViewBag.Authorized)
{
<color-code value="@SharedLibraryCore.Utilities.FormatExt(ViewBag.Localization["WEBFRONT_CLIENT_META_CHAT_HIDDEN"], Model.HiddenMessage)" allow="@ViewBag.EnableColorCodes"></color-code>