From 89b0ae1adb0bff78eb150a5f017dd1ddd392d5ea Mon Sep 17 00:00:00 2001 From: Tim G L Lyons Date: Wed, 24 Oct 2012 14:27:55 +0000 Subject: [PATCH] 0005691: [NarrWeb] family notes have disappeared from individual pages. Family notes output if the Family pages are not being output. svn: r20585 --- src/plugins/webreport/NarrativeWeb.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 49ee47fea..acc334116 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -2398,6 +2398,20 @@ class BasePage(object): Html("td", self.format_family_events(family_events, place_lat_long), class_ = "ColumnValue") ) 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): """