From bd75fd9c33cfa04f52a6421ec22724c40bd03f47 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Sun, 30 Sep 2007 21:16:33 +0000 Subject: [PATCH] Patch from Gary Burton : Narrative web report: If the event has no date, there's no place (Issue #0001236) svn: r9045 --- ChangeLog | 4 ++++ src/plugins/NarrativeWeb.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5e6cc79a6..1011b9815 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-09-30 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 Alex Roitman * data/grampsxml.rng: Add region to objref. * data/grampsxml.dtd: Add region to objref. diff --git a/src/plugins/NarrativeWeb.py b/src/plugins/NarrativeWeb.py index 4a0db693d..06c6f5e45 100644 --- a/src/plugins/NarrativeWeb.py +++ b/src/plugins/NarrativeWeb.py @@ -2041,6 +2041,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: