From 571e73f0cdae400f7c8cc613ebb85e2ef8327889 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Mon, 3 Aug 2009 05:38:11 +0000 Subject: [PATCH] Personal LDS information is now working and complete. NarrativeWeb.py is now working once again! I return it back to working status. svn: r12866 --- src/plugins/webreport/NarrativeWeb.py | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 7b15a8a07..a71bfac07 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -3403,33 +3403,22 @@ class IndividualPage(BasePage): # return address division to its caller return section - def display_lds_ordinance(self, person, sealed=True): + def display_lds_ordinance(self, person): """ display LDS information for a person or family - - @param: obj -- an individual - -- a family - - @param: sealed -- True = Parents - -- False = Spouse """ - ldsordlist = person.get_lds_ord_list() + ldsordlist = person.lds_ord_list if not ldsordlist: return None - db = self.report.database # begin LDS Ordinance division and section title with Html('div', class_='subsection', id='LDSOrdinance') as section: section += Html('h4', _('Latter-Day Saints (LDS) Ordinance'), inline=True) - # begin LDS table - with Html('table', class_='infolist ldsinfo') as table: - section += table - - # ump individual LDS ordinance list -# self.dump_LDS_ordinance(db, self.person, table, False, True) + # ump individual LDS ordinance list + section += self.dump_ordinance(db, self.person) # return section to its caller return section