people tags #387
This commit is contained in:
parent
cee01357fc
commit
4f1f155266
@ -985,7 +985,7 @@ else
|
||||
@if (!string.IsNullOrEmpty(personGraph.Person.Description)) { <text>توضیحات: @personGraph.Person.Description<br /></text> }
|
||||
@if (personGraph.Person.BirthYearInLHijri != null) { <text>تولد: @personGraph.Person.BirthYearInLHijri @(personGraph.Person.ValidBirthDate ? "(قطعی)" : "(تخمینی)")<br /></text> }
|
||||
@if (personGraph.Person.DeathYearInLHijri != null) { <text>وفات: @personGraph.Person.DeathYearInLHijri @(personGraph.Person.ValidDeathDate ? "(قطعی)" : "(تخمینی)")<br /></text> }
|
||||
@if (!string.IsNullOrEmpty(personGraph.Person.FamilyTreeCaption)) { <text>عنوان شجرهنامه: @personGraph.Person.FamilyTreeCaption<br /></text> }
|
||||
@if (!string.IsNullOrEmpty(personGraph.Person.FamilyTreeCaption)) { <text>عنوان تبارنامه: @personGraph.Person.FamilyTreeCaption<br /></text> }
|
||||
</small>
|
||||
</p>
|
||||
@if (personGraph.RelatedPeople != null && personGraph.RelatedPeople.Count > 0)
|
||||
|
||||
@ -104,7 +104,7 @@ else
|
||||
<td>@(s.SuggestedDeathLocation != null ? s.SuggestedDeathLocation.Name : "")</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>عنوان شجرهنامه</td>
|
||||
<td>عنوان تبارنامه</td>
|
||||
<td>@p.FamilyTreeCaption</td>
|
||||
<td>@s.SuggestedFamilyTreeCaption</td>
|
||||
</tr>
|
||||
|
||||
@ -2586,7 +2586,7 @@ else
|
||||
<input type="text" id="geotag-new-person-wikiurl" />
|
||||
</div>
|
||||
<div class="up-field">
|
||||
<label for="geotag-new-person-familytreecaption">عنوان شجرهنامه (اختیاری، فقط اگر این شخصیت ریشهٔ یک خانواده/سلسله شناختهشده است - مثلاً «ساسانیان»)</label>
|
||||
<label for="geotag-new-person-familytreecaption">عنوان تبارنامه (اختیاری، فقط اگر این شخصیت ریشهٔ یک خانواده/سلسله شناختهشده است - مثلاً «ساسانیان»)</label>
|
||||
<input type="text" id="geotag-new-person-familytreecaption" />
|
||||
</div>
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ else
|
||||
</div>
|
||||
|
||||
<p class="up-hint">
|
||||
این پیشنهاد مستقیماً اعمال نمیشود؛ پس از بررسی و تأیید توسط مدیران، به شجرهنامه/شبکهٔ وابستگیهای
|
||||
این پیشنهاد مستقیماً اعمال نمیشود؛ پس از بررسی و تأیید توسط مدیران، به تبارنامه/شبکهٔ وابستگیهای
|
||||
<a href="javascript:void(0)" onclick="PersonWindow.open(@Model.Person.Id)">@Model.Person.Name</a> افزوده خواهد شد.
|
||||
</p>
|
||||
|
||||
|
||||
@ -60,8 +60,8 @@ else
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
عنوان شجرهنامه:
|
||||
<p class="up-hint"><small>پُر کنید تا این شخصیت در <a href="javascript:void(0)" onclick="PeopleExplorer.open()">فهرست شجرهنامهها</a> با این عنوان دیده شود.</small></p>
|
||||
عنوان تبارنامه:
|
||||
<p class="up-hint"><small>پُر کنید تا این شخصیت در <a href="javascript:void(0)" onclick="PeopleExplorer.open()">فهرست تبارنامهها</a> با این عنوان دیده شود.</small></p>
|
||||
</td>
|
||||
<td><input asp-for="Suggestion.SuggestedFamilyTreeCaption" size="40" /></td>
|
||||
</tr>
|
||||
|
||||
@ -24,7 +24,7 @@ else
|
||||
|
||||
<div class="poem">
|
||||
<h1>
|
||||
شجرهنامهٔ @(string.IsNullOrEmpty(Model.RootPerson.FamilyTreeCaption) ? Model.RootPerson.Name : Model.RootPerson.FamilyTreeCaption)
|
||||
تبارنامهٔ @(string.IsNullOrEmpty(Model.RootPerson.FamilyTreeCaption) ? Model.RootPerson.Name : Model.RootPerson.FamilyTreeCaption)
|
||||
<a href="javascript:void(0)" onclick="PersonWindow.open(@Model.RootPerson.Id)" class="up-btn up-btn--ghost up-btn--sm">مشاهدهٔ اطلاعات این شخصیت</a>
|
||||
</h1>
|
||||
<p class="up-hint"><small>
|
||||
|
||||
@ -54,7 +54,7 @@ namespace GanjooRazor.Pages
|
||||
return Page();
|
||||
}
|
||||
|
||||
ViewData["Title"] = $"گنجور » شجرهنامهٔ {(string.IsNullOrEmpty(RootPerson.FamilyTreeCaption) ? RootPerson.Name : RootPerson.FamilyTreeCaption)}";
|
||||
ViewData["Title"] = $"گنجور » تبارنامهٔ {(string.IsNullOrEmpty(RootPerson.FamilyTreeCaption) ? RootPerson.Name : RootPerson.FamilyTreeCaption)}";
|
||||
|
||||
var treeResponse = await _httpClient.GetAsync($"{APIRoot.Url}/api/people/{id}/familytree");
|
||||
if (!treeResponse.IsSuccessStatusCode)
|
||||
|
||||
@ -14,7 +14,7 @@ else
|
||||
|
||||
@if (Model.FamilyTreeRoots != null && Model.FamilyTreeRoots.Count > 0)
|
||||
{
|
||||
<h3>شجرهنامهها</h3>
|
||||
<h3>تبارنامهها</h3>
|
||||
<ul>
|
||||
@foreach (var root in Model.FamilyTreeRoots)
|
||||
{
|
||||
|
||||
@ -21,7 +21,7 @@ else
|
||||
|
||||
@if (!string.IsNullOrEmpty(Model.Person.FamilyTreeCaption))
|
||||
{
|
||||
<p><strong>شجرهنامه: @Model.Person.FamilyTreeCaption</strong></p>
|
||||
<p><strong>تبارنامه: @Model.Person.FamilyTreeCaption</strong></p>
|
||||
}
|
||||
|
||||
@if (Model.Person.BirthYearInLHijri != 0 || Model.Person.DeathYearInLHijri != 0)
|
||||
@ -52,7 +52,7 @@ else
|
||||
{
|
||||
<h3>
|
||||
خویشاوندان
|
||||
<a href="/FamilyTree/@Model.Person.Id" class="up-btn up-btn--ghost up-btn--sm">نمایش نمودار شجرهنامه</a>
|
||||
<a href="/FamilyTree/@Model.Person.Id" class="up-btn up-btn--ghost up-btn--sm">نمایش نمودار تبارنامه</a>
|
||||
@if (Model.LoggedIn)
|
||||
{
|
||||
<a href="/User/SuggestNewPersonRelation?personId=@Model.Person.Id" class="up-btn up-btn--ghost up-btn--sm">افزودن خویشاوند جدید</a>
|
||||
|
||||
@ -1405,6 +1405,6 @@
|
||||
},
|
||||
{
|
||||
"date": "1405/07/08",
|
||||
"description": "امکان مشاهدهٔ شخصیتهای نامبرده در هر شعر، همراه با نموداری از خویشاوندان و وابستگان آنها در سطح هر دسته/شاعر و در سراسر گنجور، به همراه شجرهنامهٔ تعاملی هر شخصیت اضافه شد."
|
||||
"description": "امکان مشاهدهٔ شخصیتهای نامبرده در هر شعر، همراه با نموداری از خویشاوندان و وابستگان آنها در سطح هر دسته/شاعر و در سراسر گنجور، به همراه تبارنامهٔ تعاملی هر شخصیت اضافه شد."
|
||||
}
|
||||
]
|
||||
Loading…
Reference in New Issue
Block a user