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 + } +

+
+ } + @if (!string.IsNullOrEmpty(Model.GanjoorPage.Poem.PoemSummary)) {
@@ -429,43 +466,6 @@
} - - رونوشت متن - - - - - رونوشت نشانی - - - - - نمای مشابه کتابهای چاپی (فقط رایانه) - - - - @{ - // 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 - } -

-
- } - @if (!Model.OfflineMode && Model.GanjoorPage.Poem.GeoDateTags.Any(t => t.Location != null)) {