#415 show commentaries

This commit is contained in:
Hamid Reza Mohammadi 2023-12-12 09:53:31 +03:30
parent b2e5622af6
commit 68cba9f79b

View File

@ -214,7 +214,7 @@
</div>
}
@if (Model.GanjoorPage.Poem.Recitations.Length > 0)
@if (Model.GanjoorPage.Poem.Recitations.Where(a => a.RecitationType == RMuseum.Models.GanjoorAudio.RecitationType.Normal).Any())
{
<div class="w3-bar-item w3-button">
<a onclick="w3_close()" href="#recitations" role="button" class="cursor-pointer">
@ -225,6 +225,15 @@
</a>
</div>
<div class="w3-bar-item w3-button">
<a onclick="w3_close()" href="#commentaries" role="button" class="cursor-pointer">
<div class="circled-number">
<i class="noindent-info-button commentary-listen"></i>
</div>
شرح‌های صوتی
</a>
</div>
<div class="w3-bar-item w3-button">
<a onclick="switchPlayerScrollLock()" role="button" class="cursor-pointer">
<div class="circled-number">