1567: beautify Relation Ship Graph, remove - if no date of birth or death
svn: r20840
This commit is contained in:
parent
8b94955772
commit
ec0b9fb54b
@ -400,8 +400,15 @@ class RelGraphReport(Report):
|
||||
label += " (%s)" % p_id
|
||||
if self.includedates:
|
||||
birth, death = self.get_date_strings(person)
|
||||
label = label + '%s(%s - %s)' % (lineDelimiter, birth, death)
|
||||
|
||||
if birth or death:
|
||||
label += ' %s(' % lineDelimiter
|
||||
if birth:
|
||||
label += '%s' % birth
|
||||
label += ' - '
|
||||
if death:
|
||||
label += '%s' % death
|
||||
label += ')'
|
||||
|
||||
# see if we have a table that needs to be terminated
|
||||
if self.bUseHtmlOutput:
|
||||
label += '</TD></TR></TABLE>'
|
||||
|
Loading…
Reference in New Issue
Block a user