7256: extra spaces in HTML GV labels

This commit is contained in:
Vassilii Khachaturov 2013-11-28 23:12:46 +02:00
parent 21e33de953
commit 64cd25b8e1
2 changed files with 3 additions and 3 deletions

View File

@ -840,7 +840,7 @@ class FamilyLinesReport(Report):
label += name label += name
if birthStr or deathStr: if birthStr or deathStr:
label += ' %s(' % lineDelimiter label += '%s(' % lineDelimiter
if birthStr: if birthStr:
label += '%s' % birthStr label += '%s' % birthStr
label += ' - ' label += ' - '
@ -850,7 +850,7 @@ class FamilyLinesReport(Report):
if birthplace or deathplace: if birthplace or deathplace:
if birthplace == deathplace: if birthplace == deathplace:
deathplace = None # no need to print the same name twice deathplace = None # no need to print the same name twice
label += ' %s' % lineDelimiter label += '%s' % lineDelimiter
if birthplace: if birthplace:
label += '%s' % birthplace label += '%s' % birthplace
if birthplace and deathplace: if birthplace and deathplace:

View File

@ -433,7 +433,7 @@ class RelGraphReport(Report):
if self.includedates: if self.includedates:
birth, death = self.get_date_strings(person) birth, death = self.get_date_strings(person)
if birth or death: if birth or death:
label += ' %s(' % lineDelimiter label += '%s(' % lineDelimiter
if birth: if birth:
label += '%s' % birth label += '%s' % birth
label += ' - ' label += ' - '