NarrativeWeb: Removed the addition of listing the active person in its siblings. Fixed typo error.
svn: r15624
This commit is contained in:
parent
897fbabaa5
commit
c31bd0bfa5
@ -4641,11 +4641,11 @@ class IndividualPage(BasePage):
|
|||||||
# display them...
|
# display them...
|
||||||
if sibling:
|
if sibling:
|
||||||
|
|
||||||
# get the siblings event's places for family map
|
# add the sibling's event's place for family map
|
||||||
if self.family_map:
|
if self.family_map:
|
||||||
for handle in sibling:
|
for handle in sibling:
|
||||||
child = db.get_person_from_handle(handle)
|
individual = db.get_person_from_handle(handle)
|
||||||
_get_event_place(db, child)
|
_get_event_place(db, individual)
|
||||||
|
|
||||||
trow = Html("tr") + (
|
trow = Html("tr") + (
|
||||||
Html("td", _("Siblings"), class_ = "ColumnAttribute", inline = True)
|
Html("td", _("Siblings"), class_ = "ColumnAttribute", inline = True)
|
||||||
@ -4660,28 +4660,17 @@ class IndividualPage(BasePage):
|
|||||||
|
|
||||||
if birthorder:
|
if birthorder:
|
||||||
kids = sorted(add_birthdate(db, sibling))
|
kids = sorted(add_birthdate(db, sibling))
|
||||||
for birth_date, child_handle in kids:
|
ordered.extend(
|
||||||
if child_handle != self.person.handle:
|
self.display_child_link(child_handle)
|
||||||
ordered.extend(
|
for birth_date, child_handle in kids
|
||||||
self.display_child_link(child_handle)
|
if child_handle != self.person.handle)
|
||||||
)
|
|
||||||
else:
|
|
||||||
child = db.get_person_from_handle(child_handle)
|
|
||||||
ordered.extend(
|
|
||||||
self.get_name(child)
|
|
||||||
)
|
|
||||||
else:
|
else:
|
||||||
for child_handle in sibling:
|
ordered.extend(
|
||||||
if child_handle != self.perso.handle:
|
self.display_child_link(child_handle)
|
||||||
ordered.extend(
|
for child_handle in sibling
|
||||||
self.display_child_link(child_handle)
|
if child_handle != self.person.handle)
|
||||||
)
|
|
||||||
else:
|
|
||||||
child = db.get_person_from_handle(child_handle)
|
|
||||||
ordered.extend(
|
|
||||||
self.get_name(child)
|
|
||||||
)
|
|
||||||
|
|
||||||
# Also try to identify half-siblings
|
# Also try to identify half-siblings
|
||||||
half_siblings = set()
|
half_siblings = set()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user