This commit is contained in:
Hamid Reza Mohammadi 2024-12-22 12:12:08 +03:30
parent 65a32dc1d2
commit 5dbad7f8b9
2 changed files with 1 additions and 13 deletions

View File

@ -243,19 +243,6 @@
@if (Model.IsCatPage || Model.IsPoetPage)
{
<div id="pretab"></div>
<div class="tab" id="tab-items">
<button class="tablinks active" onclick="switchTab(event, 'tools')">اطّلاعات</button>
<button class="tablinks" onclick="switchToCatTab(event, 'recitations', @Model.GanjoorPage.PoetOrCat.Cat.Id)">خوانش‌ها</button> @if (Model.IsPoetPage)
{
<button class="tablinks" onclick="switchTab(event, 'photos')">تصاویر چهره</button>
if (Model.GanjoorPage.SecondPoet == null && Model.GanjoorPage.PoetOrCat.Cat.PaperSources != null && Model.GanjoorPage.PoetOrCat.Cat.PaperSources.Any())
{
<button class="tablinks" onclick="switchTab(event, 'papersources')">منابع کاغذی</button>
}
}
</div>
<div class="tabcontent related-images-frame" id="tools" style="display:block">
<div id="wordcounts-placeholder">
@if (Model.CategoryWordsCounts != null)

View File

@ -330,6 +330,7 @@ namespace RMuseum.Services.Implementation
}
}
html += "<div id=\"pretab\"></div>";
html += "<div class=\"tab\" id=\"tab-items\">";
html += "<button class=\"tablinks active\" onclick=\"switchTab(event, 'tools')\">اطّلاعات</button>";
html += "<button class=\"tablinks\" onclick=\"switchTab(event, 'stats')\">آمار</button>";