From b0d01d4c2cf651459236eaa15d131a04e5bab8db Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Sun, 11 Apr 2010 05:05:41 +0000 Subject: [PATCH] Bug#3822: Added citation_links for person sources in NarrativeWeb. svn: r15078 --- src/plugins/webreport/NarrativeWeb.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index d7698e5b5..f32fb6850 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -3910,6 +3910,9 @@ class IndividualPage(BasePage): # Names [and their sources] for name in all_names: + pname = _nd.display_name(name) + if name == primary_name: + pname += self.get_citation_links(self.person.get_source_references() ) pname = _nd.display_name(name) pname += self.get_citation_links( name.get_source_references() ) @@ -3955,7 +3958,6 @@ class IndividualPage(BasePage): # display the nickname attribute nick_name = self.person.get_nick_name() if nick_name and nick_name != first_name: - nick_name += self.get_citation_links(self.person.get_source_references() ) trow = Html("tr") + ( Html("td", _("Nick Name"), class_ = "ColumnAttribute", inline = True), Html("td", nick_name, class_ = "ColumnValue", inline = True)