@using Project_Unite.Controllers; @model Project_Unite.Models.ForumTopic @using Microsoft.AspNet.Identity @{ ViewBag.Title = Model.Subject; }
@if(Model.IsUnlisted == true) {This topic is unlisted. Only those with the topic link as well as moderators may see this topic. Please respect its privacy.
Started by @Html.UserLink(Model.AuthorId) at @Model.StartedAt
@foreach (Project_Unite.Models.ForumPost post in PaginationExtensions.GetItemsOnPage@user.Codepoints Codepoints
@user.HighestRole.Name
@if (User?.Identity?.IsModerator()==true) { @Html.ActionLink("User info", "UserDetails", "Moderator", new { id = ACL.UserNameRaw(post.AuthorId) }, new { @class = "btn btn-default" }) }
}@Html.UserLink(post.AuthorId) at @post.PostedAt
@Html.Markdown(post.Body)
@if (post.EditHistory.Length > 0) {By @Html.UserLink(edit.UserId) at @edit.EditedAt
Reason: @Html.Markdown(edit.EditReason)
Pages: