@model LastPostModel
@using Nop.Web.Models.Boards;
@if (Model.Id > 0)
{
@Model.PostCreatedOnStr
if (Model.ShowTopic)
{
@Html.RouteLink(Model.ForumTopicSubject, "TopicSlug", new { id = Model.ForumTopicId, slug = Model.ForumTopicSeName })
}
if (Model.CustomerId > 0)
{
@if (Model.AllowViewingProfiles && !Model.IsCustomerGuest)
{
@Html.RouteLink(Model.CustomerName, "CustomerProfile", new { Id = Model.CustomerId })
}
else
{
@Model.CustomerName
}
}
}
else
{
@T("Forum.NoPosts")
}