From 0a9f5cb91f43fa28173704eec70361ec352ef109 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Sat, 29 Sep 2007 03:15:00 +0000 Subject: [PATCH] Patch from Gary Burton : Narrative web report: If the event has no date, there's no place (Issue #0001236) svn: r9032 --- ChangeLog | 4 ++++ src/plugins/NarrativeWeb.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index cc4fabbbe..7ccc59edf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-09-28 Gary Burton + * 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 * src/GrampsDb/_GrampsDbBase.py: documentation string error * src/Editors/_EditPerson.py: reload image if rectangle changes diff --git a/src/plugins/NarrativeWeb.py b/src/plugins/NarrativeWeb.py index 0b218ad61..ddb32c7fd 100644 --- a/src/plugins/NarrativeWeb.py +++ b/src/plugins/NarrativeWeb.py @@ -2230,6 +2230,8 @@ class IndividualPage(BasePage): text = _('%(description)s,  %(date)s  at  %(place)s') % tmap elif descr and date: text = _('%(description)s,  %(date)s  ') % tmap + elif descr and place: + text = _('%(description)s  at  %(place)s') % tmap elif descr: text = descr elif date and place: