2020-08-20 11:38:11 -04:00
|
|
|
@using SharedLibraryCore.Dtos.Meta.Responses
|
2022-04-19 19:43:58 -04:00
|
|
|
@using Humanizer
|
2020-11-12 21:39:56 -05:00
|
|
|
@model IList<MessageResponse>
|
2018-06-05 17:31:36 -04:00
|
|
|
@{
|
|
|
|
Layout = null;
|
|
|
|
}
|
|
|
|
|
2022-04-19 19:43:58 -04:00
|
|
|
<div class="client-message-context mt-10 mb-10">
|
|
|
|
<h5 class="rounded-top bg-primary text-light mb-0 p-10 pt-5 pb-5">@Model.First().When.Humanize()</h5>
|
|
|
|
<div class="bg-dark-dm bg-light-lm p-10 pr-20 rounded-bottom">
|
2019-03-31 20:56:31 -04:00
|
|
|
@foreach (var message in Model)
|
|
|
|
{
|
2022-04-19 19:43:58 -04:00
|
|
|
<span>
|
|
|
|
<color-code value="@message.ClientName" allow="@ViewBag.EnableColorCodes"></color-code>
|
2019-08-04 22:25:56 -04:00
|
|
|
</span>
|
2019-08-04 18:06:07 -04:00
|
|
|
<span>
|
|
|
|
—
|
2022-04-19 19:43:58 -04:00
|
|
|
<span class="@(message.IsQuickMessage ? "font-italic" : "") text-light-dm text-dark-lm">
|
|
|
|
<color-code value="@(message.IsHidden ? message.HiddenMessage : message.Message)" allow="@ViewBag.EnableColorCodes"></color-code>
|
2019-08-04 18:06:07 -04:00
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<br />
|
2019-03-31 20:56:31 -04:00
|
|
|
}
|
|
|
|
</div>
|
2022-04-19 19:43:58 -04:00
|
|
|
</div>
|