8200: Person Relatives Tab should use the type from the relationship (#396)
* 8200: Person Relatives Tab should use the type from the relationship * 8200: Flag variables as there are now two variables.
This commit is contained in:
@@ -85,7 +85,9 @@ class RelativesGramplet(Gramplet):
|
|||||||
spouse = database.get_person_from_handle(spouse_handle)
|
spouse = database.get_person_from_handle(spouse_handle)
|
||||||
spousename = name_displayer.display(spouse)
|
spousename = name_displayer.display(spouse)
|
||||||
text = "%s" % spousename
|
text = "%s" % spousename
|
||||||
self.append_text(_("%d. Partner: ") % (famc))
|
self.append_text(_("%(count)d. %(relation)s: ") %
|
||||||
|
{"count": famc,
|
||||||
|
"relation": family.get_relationship()})
|
||||||
self.link(text, 'Person', spouse_handle)
|
self.link(text, 'Person', spouse_handle)
|
||||||
self.append_text("\n")
|
self.append_text("\n")
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user