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

@@ -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: