5226: again, husband and wife links
svn: r18149
This commit is contained in:
parent
213a4cd942
commit
202405d748
@ -394,7 +394,7 @@ class BasePage(object):
|
|||||||
if husband:
|
if husband:
|
||||||
husband_name = self.get_name(husband)
|
husband_name = self.get_name(husband)
|
||||||
if check_person_database(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)
|
hlink = self.person_link(url, husband, _NAME_STYLE_DEFAULT, gid = husband.gramps_id)
|
||||||
else:
|
else:
|
||||||
hlink = husband_name
|
hlink = husband_name
|
||||||
@ -402,7 +402,7 @@ class BasePage(object):
|
|||||||
if spouse:
|
if spouse:
|
||||||
spouse_name = self.get_name(spouse)
|
spouse_name = self.get_name(spouse)
|
||||||
if check_person_database(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)
|
slink = self.person_link(url, spouse, _NAME_STYLE_DEFAULT, gid = spouse.gramps_id)
|
||||||
else:
|
else:
|
||||||
slink = spouse_name
|
slink = spouse_name
|
||||||
|
Loading…
Reference in New Issue
Block a user