docs: #319 listing a poems section
This commit is contained in:
parent
299ef5bfe2
commit
8a75a3cc9c
@ -13,7 +13,7 @@
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
|
||||
|
||||
|
||||
function savePoemCorrections(id, verseCount) {
|
||||
var verseOrderText = [];
|
||||
@ -610,6 +610,31 @@ else
|
||||
<td><p id="saving"> </p></td>
|
||||
</tr>
|
||||
|
||||
@if (Model.PageInformation.Poem.Sections.Count(s => s.SectionType == RMuseum.Models.Ganjoor.PoemSectionType.WholePoem && s.VerseType == RMuseum.Models.Ganjoor.VersePoemSectionType.First) > 1)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
قطعات:
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table>
|
||||
@foreach (var poemSetion in Model.PageInformation.Poem.Sections.Where(s => s.SectionType == RMuseum.Models.Ganjoor.PoemSectionType.WholePoem && s.VerseType == RMuseum.Models.Ganjoor.VersePoemSectionType.First).ToList())
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/User/Section?id=@poemSetion.Id">
|
||||
قطعهٔ @(poemSetion.Number.ToPersianNumbers())
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
|
||||
@if (Model.PageInformation.Poem.Previous != null)
|
||||
{
|
||||
<tr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user