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: r9045
This commit is contained in:
Brian Matherly 2007-09-30 21:16:33 +00:00
parent 225bcabce3
commit bd75fd9c33
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-09-30 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 Alex Roitman <shura@gramps-project.org> 2007-09-29 Alex Roitman <shura@gramps-project.org>
* data/grampsxml.rng: Add region to objref. * data/grampsxml.rng: Add region to objref.
* data/grampsxml.dtd: Add region to objref. * data/grampsxml.dtd: Add region to objref.

View File

@ -2041,6 +2041,8 @@ class IndividualPage(BasePage):
text = _('%(description)s,&nbsp;&nbsp;%(date)s&nbsp;&nbsp;at&nbsp;&nbsp;%(place)s') % tmap text = _('%(description)s,&nbsp;&nbsp;%(date)s&nbsp;&nbsp;at&nbsp;&nbsp;%(place)s') % tmap
elif descr and date: elif descr and date:
text = _('%(description)s,&nbsp;&nbsp;%(date)s&nbsp;&nbsp;') % tmap 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: elif descr:
text = descr text = descr
elif date and place: elif date and place: