Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

Default.cshtml

@model LastPostModel
@if (Model.Id > 0)
{
    <div class="date">
        @Model.PostCreatedOnStr
    </div>
    if (Model.ShowTopic)
    {
        <div class="origin">
            <label>@T("Forum.In"):</label>
            @Html.RouteLink(Model.ForumTopicSubject, NopRouteNames.Standard.TOPIC_SLUG, new { id = Model.ForumTopicId, slug = Model.ForumTopicSeName })
        </div>
    }
    <div class="author">
        <label>@T("Forum.By"):</label>
        @if (Model.AllowViewingProfiles)
        {
            @Html.RouteLink(Model.CustomerName, NopRouteNames.Standard.CUSTOMER_PROFILE, new { Id = Model.CustomerId })
        }
        else
        {
            <span>@Model.CustomerName</span>
        }
    </div>
}
else
{
    <div class="no-post">
        @T("Forum.NoPosts")
    </div>
}