Patch from Gary Burton <gary.burton@zen.co.uk>: Narrative web report: If the event has no date, there's no place (Issue #0001236)

svn: r9032
This commit is contained in:
Brian Matherly 2007-09-29 03:15:00 +00:00
parent d5d067a01b
commit 0a9f5cb91f
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-09-28 Gary Burton <gary.burton@zen.co.uk>
* src/plugins/NarrativeWeb.py: 0001236: Narrative web report: If the event
has no date, there's no place (Issue #0001236)
2007-09-29 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: documentation string error
* src/Editors/_EditPerson.py: reload image if rectangle changes

View File

@ -2230,6 +2230,8 @@ class IndividualPage(BasePage):
text = _('%(description)s,&nbsp;&nbsp;%(date)s&nbsp;&nbsp;at&nbsp;&nbsp;%(place)s') % tmap
elif descr and date:
text = _('%(description)s,&nbsp;&nbsp;%(date)s&nbsp;&nbsp;') % tmap
elif descr and place:
text = _('%(description)s&nbsp;&nbsp;at&nbsp;&nbsp;%(place)s') % tmap
elif descr:
text = descr
elif date and place: