#451 bug fix
This commit is contained in:
parent
65a32dc1d2
commit
5dbad7f8b9
@ -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)
|
||||
|
||||
@ -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>";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user