5226: again, husband and wife links

svn: r18148
This commit is contained in:
Michiel Nauta 2011-09-11 10:55:11 +00:00
parent dc00fa980d
commit 29d693ed49

View File

@ -399,7 +399,7 @@ class BasePage(object):
if husband:
husband_name = self.get_name(husband)
if check_person_database(husband_handle, ppl_hnd_list):
url = self.report.build_url_fname_html(husband_handle, "ppl", True)
url = self.report.build_url_fname_html(husband_handle, "ppl", up)
hlink = self.person_link(url, husband, _NAME_STYLE_DEFAULT,
gid = husband.gramps_id)
else:
@ -408,7 +408,7 @@ class BasePage(object):
if spouse:
spouse_name = self.get_name(spouse)
if check_person_database(spouse_handle, ppl_hnd_list):
url = self.report.build_url_fname_html(spouse_handle, "ppl", True)
url = self.report.build_url_fname_html(spouse_handle, "ppl", up)
slink = self.person_link(url, spouse, _NAME_STYLE_DEFAULT,
gid = spouse.gramps_id)
else: