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.ToColumn") @T("PrivateMessages.Inbox.SubjectColumn") @T("PrivateMessages.Inbox.DateColumn")
@if (item.AllowViewingToProfile) { @Html.RouteLink(item.CustomerToName, "CustomerProfile", new { Id = item.ToCustomerId }) } else { @item.CustomerToName } @Html.RouteLink(item.Subject, "ViewPM", new { privateMessageId = item.Id }, new { @class = "pm-read" }) @item.CreatedOn
@{ var pager = await Html.PagerAsync(Model.PagerModel); } @if (!string.IsNullOrEmpty(await pager.RenderHtmlContentAsync())) {
@pager
}
} else {
@T("PrivateMessages.Sent.NoItems")
}