3654: Cannot print title on all_relations quick view

svn: r14594
This commit is contained in:
Jérôme Rapinat 2010-03-03 08:45:42 +00:00
parent 5f64246564
commit ec7a7c869e

View File

@ -77,8 +77,8 @@ class AllRelReport():
p1 = self.sdb.name(self.person) p1 = self.sdb.name(self.person)
if self.person.handle == self.home_person.handle : if self.person.handle == self.home_person.handle :
self.sdoc.paragraph(_FMT_VOID % ( self.sdoc.paragraph(_FMT_VOID % (
_("%(person)s and %(active_person)s are the same person."))) % { _("%(person)s and %(active_person)s are the same person.")) % {
'person' : p1, 'active_person' : p2 } 'person' : p1, 'active_person' : p2 })
return return
#check if not a family too: #check if not a family too:
@ -203,8 +203,8 @@ class AllRelReport():
""" """
p2 = self.sdb.name(self.home_person) p2 = self.sdb.name(self.home_person)
p1 = self.sdb.name(self.person) p1 = self.sdb.name(self.person)
self.sdoc.title(_("Relationships of %(person)s to %(active_person)s")) % { self.sdoc.title(_("Relationships of %(person)s to %(active_person)s") % {
'person' : p1 ,'active_person' : p2 } 'person' : p1 ,'active_person' : p2 })
self.sdoc.paragraph("") self.sdoc.paragraph("")
def print_details_header(self, relations, pers1, pers2, def print_details_header(self, relations, pers1, pers2,