@model PrivateMessageListModel @using SmartStore.Web; @using SmartStore.Web.Models.PrivateMessages; @using SmartStore.Web.Framework.UI;
| @T("PrivateMessages.Inbox.FromColumn") | @T("PrivateMessages.Inbox.SubjectColumn") | @T("Common.Date") | |
|---|---|---|---|
| @if (item.AllowViewingFromProfile) { @Html.RouteLink(item.CustomerFromName, "CustomerProfile", new { Id = item.FromCustomerId }) } else { @item.CustomerFromName } | @Html.ActionLink(item.Subject, "View", new { id = item.Id }, new { @class = (item.IsRead) ? "pm-read" : "pm-unread" }) | @item.CreatedOn |