From 6c01a611d71e263835ce7322872a67a1870b17af Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Tue, 25 May 2010 04:59:00 +0000 Subject: [PATCH] Removed Totals Column and Row from class EventListPage. svn: r15472 --- src/plugins/webreport/NarrativeWeb.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 5af377f02..b6894539c 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -2475,8 +2475,7 @@ class EventListPage(BasePage): [THEAD, "Type"], [DHEAD, "Date"], [GRAMPSID, "GRAMPSID"], - [_PERSON, "Person"], - [_("Totals"), "Totals"] ] + [_PERSON, "Person"] ] ) tbody = Html("tbody") @@ -2489,7 +2488,6 @@ class EventListPage(BasePage): # sort datalist by date of event datalist = sorted(datalist, key = self._getEventDate) - total = len(datalist) first_event = True while datalist: @@ -2561,14 +2559,6 @@ class EventListPage(BasePage): # get person(s) for ColumnPerson self.complete_people(tcell, first_person, handle_list) - # display total of the event if first_event is True - tcell = Html("td", class_ = "ColumnTotals", inline = True) - trow += tcell - if first_event: - tcell += total - else: - tcell += " " - _EVENT_DISPLAYED.append( gid ) first_event = False datalist.remove("%s" % event_handle)