jump button removed for cats with no desc

This commit is contained in:
Hamid Reza Mohammadi 2026-09-02 07:46:59 +03:30
parent 73fbfd7f76
commit 537ac26cb3

View File

@ -56,6 +56,15 @@
@if (Model.GanjoorPage.GanjoorPageType == RMuseum.Models.Ganjoor.GanjoorPageType.PoetPage || Model.GanjoorPage.GanjoorPageType == RMuseum.Models.Ganjoor.GanjoorPageType.CatPage)
{
@if (Model.GanjoorPage.HtmlText != null && Model.GanjoorPage.HtmlText.Contains("ganjoor-bio-text"))
{
<a href="#after-bio" role="button" class="cursor-pointer" title="لغزش به محتوا">
<div class="circled-number">
<i class="notranslate noindent-info-button menu-icon"></i>
</div>
</a>
}
@if (Model.LoggedIn)
{
<a href="/User/CatEditor?id=@Model.GanjoorPage.Id" role="button" class="cursor-pointer" title="ویرایش">
@ -64,12 +73,6 @@
</div>
</a>
}
<a href="#after-bio" role="button" class="cursor-pointer" title="لغزش به محتوا">
<div class="circled-number">
<i class="notranslate noindent-info-button menu-icon"></i>
</div>
</a>
}
@if (!string.IsNullOrEmpty(Model.PreviousUrl))