Projects (GanjooRazor -> DiwanRazor, GanjoorService.sln -> DiwanService.sln), files, folders, classes, namespaces, settings, API routes (/api/diwan) and DB tables (Diwan*). External addresses (ganjoor.net, github.com/ganjoor) unchanged. Migrations renamed consistently (no pending model changes); requires a fresh database. Upstream RUNNING_LOCALLY/SEMANTIC_SEARCH docs archived unmodified under docs/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
@model DiwanRazor.Pages._PoetSpecLinePartialModel
|
|
@{
|
|
Layout = null;
|
|
}
|
|
|
|
<div class="diwan-comment" id="@(Model.Line.Id == 0 ? "comment-error" : $"line-{Model.Line.Id}")" data-sanitizer-remaining-text="@(Model.Line.Id == 0 ? Model.SanitizerRemainingText : null)">
|
|
@if (Model.Line.Id == 0)
|
|
{
|
|
@Model.Line.Contents
|
|
}
|
|
else
|
|
{
|
|
@Html.Raw(Model.Line.Contents)
|
|
}
|
|
</div>
|
|
|
|
@if (Model.Line.Id != 0 && !Model.Line.Published)
|
|
{
|
|
<div class="clear-both red-color">
|
|
پیشنهاد شما پس از بررسی قابل مشاهده خواهد بود.
|
|
</div>
|
|
}
|
|
|
|
@if (Model.ModeratePoetPhotos)
|
|
{
|
|
<div class="clear-both">
|
|
<a role="button" href="/User/SuggestedPoetSpecLines?id=@Model.Line.Id" class="pagebutton" title="ویرایش"><i class="notranslate noindent-info-button edit-poem-button"></i></a>
|
|
<a role="button" onclick="deleteSpec(@Model.Line.Id)" class="pagebutton" title="حذف"><i class="notranslate noindent-info-button delete-icon"></i></a>
|
|
</div>
|
|
}
|