From b67fb1c7d7947ff224e93ee3b382772bee944ff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Charette?= Date: Sun, 8 Feb 2009 12:49:28 +0000 Subject: [PATCH] feature request #2562 - display notes attached to names svn: r11918 --- src/plugins/webreport/NarrativeWeb.py | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 6549d1437..53417033a 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -2077,7 +2077,25 @@ class IndividualPage(BasePage): type_ = str( name.get_type() ) of.write('\t\t\t\n') of.write('\t\t\t\t%s\n' % type_) - of.write('\t\t\t\t%s\n' % pname) + of.write('\t\t\t\t%s' % pname) + + # display any notes associated with this name + notelist = name.get_note_list() + if len(notelist) > 0: + of.write('\n') + of.write('\t\t\t\t\t\n') + of.write('\t\t\t\t') + + # finished with this name + of.write('\n') of.write('\t\t\t\n') # display call names