0005691: [NarrWeb] family notes have disappeared from individual pages. Family notes output if the Family pages are not being output.

svn: r20585
This commit is contained in:
Tim G L Lyons 2012-10-24 14:27:55 +00:00
parent 865aa77ec0
commit 89b0ae1adb

View File

@ -2399,6 +2399,20 @@ class BasePage(object):
)
table += trow
# If the families pages are not output, display family notes
if not self.inc_families:
notelist = family.get_note_list()
for notehandle in notelist:
note = self.dbase_.get_note_from_handle(notehandle)
if note:
trow = Html("tr") + (
Html("td", " ", class_ = "ColumnType", inline = True),
Html("td", "Narrative", class_ = "ColumnAttribute", inline = True),
Html("td", self.get_note_format(note, True), class_ = "ColumnValue")
)
table += trow
def display_child_link(self, chandle, ppl_handle_list):
"""
display child link ...