@model PrivateMessageListModel @using SmartStore.Web; @using SmartStore.Web.Models.PrivateMessages; @using SmartStore.Web.Framework.UI;
@if (Model.Messages.Count > 0) { using (Html.BeginForm("SentUpdate", (string)null)) { @for (int i = 0; i < Model.Messages.Count; i++) { var item = Model.Messages[i]; }
@T("PrivateMessages.Inbox.ToColumn") @T("PrivateMessages.Inbox.SubjectColumn") @T("Common.Date")
@if (item.AllowViewingToProfile) { @Html.RouteLink(item.CustomerToName, "CustomerProfile", new { Id = item.ToCustomerId }) } else { @item.CustomerToName } @Html.ActionLink(item.Subject, "View", new { id = item.Id }, new { @class = "pm-read" }) @item.CreatedOn
if (Model.TotalPages > 1) { @Html.SmartStore().Pager(Model).Name("paginator").Route("PrivateMessages", ViewData["PagerRouteValues"]) }
} }