diff --git a/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_PoemPagePartial.cshtml b/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_PoemPagePartial.cshtml index 65204bc4..fb216b84 100644 --- a/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_PoemPagePartial.cshtml +++ b/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_PoemPagePartial.cshtml @@ -329,6 +329,43 @@
} + + رونوشت متن + + + + + رونوشت نشانی + + + + + نمای مشابه کتابهای چاپی (فقط رایانه) + + + + @{ + // distinct persons tagged in this poem (same GeoDateTags rows the map below uses - + // already filtered to approved/non-machine-generated tags by GetPoemGeoDateTagsAsync) + var poemTaggedPersons = Model.GanjoorPage.Poem.GeoDateTags + .Where(t => t.Person != null) + .GroupBy(t => t.PersonId) + .Select(g => g.First().Person) + .ToList(); + } + @if (poemTaggedPersons.Count > 0) + { ++ @foreach (var taggedPerson in poemTaggedPersons) + { + @taggedPerson.Name + } +
+- @foreach (var taggedPerson in poemTaggedPersons) - { - @taggedPerson.Name - } -
-