@model LastPostModel @using SmartStore.Core.Infrastructure; @using SmartStore.Web.Models.Boards; @using SmartStore.Services.Customers; @using SmartStore.Services.Forums; @using SmartStore.Services.Helpers; @using SmartStore.Services.Seo; @if (@Model.Id > 0) {
@Model.PostCreatedOnStr
@if (Model.ShowTopic) {
@T("Forum.In"): @Html.RouteLink(Model.ForumTopicSubject.Truncate(30, "..."), "TopicSlug", new { id = Model.ForumTopicId, slug = Model.ForumTopicSeName }, new { title = Model.ForumTopicSubject })
} @if (Model.CustomerId > 0) {
@if (Model.AllowViewingProfiles && !Model.IsCustomerGuest) { @T("Forum.By"): @Html.RouteLink(Model.CustomerName, "CustomerProfile", new { Id = Model.CustomerId }) } else { @T("Forum.By"): @Model.CustomerName }
}
} else {
@T("Forum.NoPosts")
}