5226: again, husband and wife links

svn: r18149
This commit is contained in:
Michiel Nauta 2011-09-11 10:55:44 +00:00
parent 213a4cd942
commit 202405d748

View File

@ -394,7 +394,7 @@ class BasePage(object):
if husband:
husband_name = self.get_name(husband)
if check_person_database(husband):
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:
hlink = husband_name
@ -402,7 +402,7 @@ class BasePage(object):
if spouse:
spouse_name = self.get_name(spouse)
if check_person_database(spouse):
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:
slink = spouse_name