5226: again, husband and wife links
svn: r18148
This commit is contained in:
parent
dc00fa980d
commit
29d693ed49
@ -399,7 +399,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_handle, ppl_hnd_list):
|
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,
|
hlink = self.person_link(url, husband, _NAME_STYLE_DEFAULT,
|
||||||
gid = husband.gramps_id)
|
gid = husband.gramps_id)
|
||||||
else:
|
else:
|
||||||
@ -408,7 +408,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_handle, ppl_hnd_list):
|
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,
|
slink = self.person_link(url, spouse, _NAME_STYLE_DEFAULT,
|
||||||
gid = spouse.gramps_id)
|
gid = spouse.gramps_id)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user