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

غلطی

@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 @if (!Model.Comment.MyComment) { thumb_up } @Model.Comment.LikeCount.ToPersianNumbers() @if (!Model.Comment.MyComment) { thumb_down } @Model.Comment.DislikeCount.ToPersianNumbers() flag link @if (Model.LoggedIn) { @(@Model.Comment.IsBookmarked ? "star" : "star_border") }

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