* 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 cf4dae1779
commit 15fe5ad82e
2 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2006-11-05 Brian Matherly <brian@gramps-project.org>
* 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>
* src/plugins/Makefile.am: add RemoveUnused.py

View File

@ -1375,7 +1375,13 @@ class IndividualPage(BasePage):
for handle in self.person.get_family_handle_list():
family = self.db.get_family_from_handle(handle)
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():
event = self.db.get_event_from_handle(evt_ref.ref)
if event: