* src/plugins/NarrativeWeb.py: Add family event gallery items to individual page

svn: r7561
This commit is contained in:
Brian Matherly 2006-11-06 04:27:23 +00:00
parent f54df4aebb
commit 58719bde0d
2 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2006-11-05 Brian Matherly <brian@gramps-project.org> 2006-11-05 Brian Matherly <brian@gramps-project.org>
* src/plugins/NarrativeWeb.py: Add street to place page. * src/plugins/NarrativeWeb.py: Add street to place page.
* src/plugins/NarrativeWeb.py: Add family event gallery items to
individual page
2006-11-05 Don Allingham <don@gramps-project.org> 2006-11-05 Don Allingham <don@gramps-project.org>
* src/plugins/Makefile.am: add RemoveUnused.py * src/plugins/Makefile.am: add RemoveUnused.py

View File

@ -1376,6 +1376,12 @@ class IndividualPage(BasePage):
family = self.db.get_family_from_handle(handle) family = self.db.get_family_from_handle(handle)
media_list += ReportUtils.sanitize_list(family.get_media_list(), media_list += ReportUtils.sanitize_list(family.get_media_list(),
self.exclude_private) self.exclude_private)
for evt_ref in family.get_event_ref_list():
event = self.db.get_event_from_handle(evt_ref.ref)
media_list += ReportUtils.sanitize_list(
event.get_media_list(),
self.exclude_private)
for evt_ref in self.person.get_event_ref_list(): for evt_ref in self.person.get_event_ref_list():
event = self.db.get_event_from_handle(evt_ref.ref) event = self.db.get_event_from_handle(evt_ref.ref)
if event: if event: