3822: Narrated Web Site: citations for person sources are missing

svn: r15106
This commit is contained in:
Doug Blank 2010-04-14 00:26:24 +00:00
parent d4711a4bcf
commit 98e8a6aaf8

View File

@ -3933,6 +3933,8 @@ class IndividualPage(BasePage):
# Names [and their sources] # Names [and their sources]
for name in all_names: for name in all_names:
pname = _nd.display_name(name) pname = _nd.display_name(name)
if name == primary_name:
pname += self.get_citation_links(self.person.get_source_references() )
pname += self.get_citation_links( name.get_source_references() ) pname += self.get_citation_links( name.get_source_references() )
# if we have just a firstname, then the name is preceeded by ", " # if we have just a firstname, then the name is preceeded by ", "