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

svn: r20586
This commit is contained in:
Tim G L Lyons 2012-10-24 14:28:26 +00:00
parent 35af1c2e41
commit 6c9d7d5eee

View File

@ -2409,6 +2409,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 ...