From 25457c6c1ef49023dff6e5715d6b36c68e1d4ae7 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Fri, 9 Sep 2011 21:08:37 +0000 Subject: [PATCH] 5224: NarWeb, associations table appends 1 to person name svn: r18135 --- src/plugins/webreport/NarrativeWeb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 2cb803fed..b5513089c 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -5273,14 +5273,14 @@ class IndividualPage(BasePage): for person_ref in assoclist: if person_ref.ref not in self.report.person_handles: - continue + continue # TODO why skip persons? trow = Html("tr") tbody += trow person = self.report.database.get_person_from_handle(person_ref.ref) url = self.report.build_url_fname_html(person.handle, "ppl", True) - person_name = self.get_name(person) - person_link = Html("a", person_name, _NAME_STYLE_DEFAULT, href=url, title=html_escape(person_name)) + person_link = self.person_link(url, person, + _NAME_STYLE_DEFAULT, gid=person.get_gramps_id()) index = 0 for data in [