2003-07-17 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Include grandchildren's birth dates in abbreviated form. svn: r1898
This commit is contained in:
parent
e24e67fc7e
commit
e1036d8bc9
@ -1,7 +1,8 @@
|
|||||||
2003-07-17 Tim Waugh <twaugh@redhat.com>
|
2003-07-17 Tim Waugh <twaugh@redhat.com>
|
||||||
* src/plugins/Ancestors.py: Include other names in the notes.
|
* src/plugins/Ancestors.py: Include grandchildren's birth dates in
|
||||||
Include birth/marriage/death descriptions. Change report name.
|
abbreviated form. Include other names in the notes. Include
|
||||||
Include addresses. Better generation headings. Include nickname.
|
birth/marriage/death descriptions. Change report name. Include
|
||||||
|
addresses. Better generation headings. Include nickname.
|
||||||
|
|
||||||
2003-07-16 Donald Peterson <dpeterson@sigmaxi.org>
|
2003-07-16 Donald Peterson <dpeterson@sigmaxi.org>
|
||||||
* doc/gramps-manual/C/figures/bookreport.png:
|
* doc/gramps-manual/C/figures/bookreport.png:
|
||||||
|
@ -421,6 +421,22 @@ class ComprehensiveAncestorsReport (Report.Report):
|
|||||||
info += self.cite_sources (address.getSourceRefList ())
|
info += self.cite_sources (address.getSourceRefList ())
|
||||||
return info
|
return info
|
||||||
|
|
||||||
|
def abbrev_born_died (self, person):
|
||||||
|
ret = ''
|
||||||
|
birth = person.getBirth ()
|
||||||
|
date = birth.getDate ()
|
||||||
|
if date:
|
||||||
|
ret += " b. " + date
|
||||||
|
ret += self.cite_sources (birth.getSourceRefList ())
|
||||||
|
|
||||||
|
death = person.getDeath ()
|
||||||
|
date = death.getDate ()
|
||||||
|
if date:
|
||||||
|
ret += " d. " + date
|
||||||
|
ret += self.cite_sources (death.getSourceRefList ())
|
||||||
|
|
||||||
|
return ret
|
||||||
|
|
||||||
def long_born_died (self, person):
|
def long_born_died (self, person):
|
||||||
ret = ''
|
ret = ''
|
||||||
born_info = self.event_info (person.getBirth ())
|
born_info = self.event_info (person.getBirth ())
|
||||||
@ -583,6 +599,7 @@ class ComprehensiveAncestorsReport (Report.Report):
|
|||||||
children += self.first_name_or_nick (child)
|
children += self.first_name_or_nick (child)
|
||||||
children += self.cite_sources (child.getPrimaryName ().
|
children += self.cite_sources (child.getPrimaryName ().
|
||||||
getSourceRefList ())
|
getSourceRefList ())
|
||||||
|
children += self.abbrev_born_died (child)
|
||||||
if child_count - count > 1:
|
if child_count - count > 1:
|
||||||
children += ', '
|
children += ', '
|
||||||
elif child_count - count == 1:
|
elif child_count - count == 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user