@page @using DNTPersianUtils.Core; @model GanjooRazor.Pages.HashiehaModel @{ Layout = null; } @ViewData["Title"] @if (!string.IsNullOrEmpty(Model.LastError)) { @Html.Raw(Model.LastError) } else {

گنجور

@{ if (Model.Poet != null) { } }

@Model.Title

@if (Model.Profile != null) {

@Model.Profile.NickName @if (!string.IsNullOrEmpty(Model.Profile.Website)) { 🌐 } @if (Model.CanAdministerUsers) { # }

@if (!string.IsNullOrEmpty(Model.Profile.Bio)) { @Html.Raw(Model.Profile.Bio) }

} @if (Model.Comments.Count == 0) {

حاشیه‌ای با مشخصات مورد نظر شما پیدا نشد.

} else foreach (var comment in Model.Comments) {

@if (comment.UserId == null) { @comment.AuthorName } else { @comment.AuthorName } در @comment.CommentDate.ToFriendlyPersianDateTextify() @if (comment.InReplyTo != null) { @(" ")در پاسخ به @comment.InReplyTo.AuthorName } @(" ")دربارهٔ @comment.Poem.Title:

@if (comment.CoupletIndex != -1) {
@comment.CoupletSummary
}
@Html.Raw(comment.HtmlComment)
}
@Html.Raw(Model.PagingToolsHtml)
@if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString())) { } }