Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

Default.cshtml

@model PrivateMessageListModel 
@if (Model.Messages.Count > 0) {
@for (var i = 0; i < Model.Messages.Count; i++) { var item = Model.Messages[i]; }
@T("PrivateMessages.Inbox.FromColumn") @T("PrivateMessages.Inbox.SubjectColumn") @T("PrivateMessages.Inbox.DateColumn")
@if (item.AllowViewingFromProfile) { @Html.RouteLink(item.CustomerFromName, "CustomerProfile", new { Id = item.FromCustomerId }) } else { @item.CustomerFromName } @Html.RouteLink(item.Subject, "ViewPM", new { privateMessageId = item.Id }, new { @class = (item.IsRead) ? "pm-read" : "pm-unread" }) @item.CreatedOn
@{ var pager = await Html.PagerAsync(Model.PagerModel); } @if (!string.IsNullOrEmpty(await pager.RenderHtmlContentAsync())) {
@pager
}
} else {
@T("PrivateMessages.Inbox.NoItems")
}