@model GanjooRazor.Pages._CommentPartialModel @using DNTPersianUtils.Core @{ Layout = null; } @if (Model.Comment == null) {

خطا

@Html.Raw(Model.Error)
} else {
@if (!string.IsNullOrEmpty(Model.Comment.PublishStatus)) {
@Model.Comment.PublishStatus
} @if (Model.Comment.UserId != null) {
@(string.IsNullOrEmpty(Model.Comment.AuthorName) ? "#" : Model.Comment.AuthorName) در @Html.Raw($"{Model.Comment.CommentDate.ToFriendlyPersianDateTextify()}") @Model.Wrote:
} else {
@(string.IsNullOrEmpty(Model.Comment.AuthorName) ? "ناشناس" : Model.Comment.AuthorName) در @Html.Raw($"{Model.Comment.CommentDate.ToFriendlyPersianDateTextify()}") @Model.Wrote:
} @if (Model.Comment.CoupletIndex != -1) {
دربارهٔ @Model.Comment.CoupletSummary
}
@Html.Raw(Model.Comment.HtmlComment)

@if (Model.Comment.MyComment) { delete edit } reply flag link @if (Model.LoggedIn) { @(@Model.Comment.IsBookmarked ? "star" : "star_border") }

 
@foreach (var reply in Model.Comment.Replies) { }
}