0005860: The descriptions for events are missing in the webreport.

svn: r20538
This commit is contained in:
Tim G L Lyons 2012-10-08 10:03:32 +00:00
parent fb5362ba1f
commit c79ff475b4

View File

@ -883,6 +883,7 @@ class BasePage(object):
(_("Event"), "ColumnEvent"), (_("Event"), "ColumnEvent"),
(_("Date"), "ColumnDate"), (_("Date"), "ColumnDate"),
(_("Place"), "ColumnPlace"), (_("Place"), "ColumnPlace"),
(_("Description"), "ColumnDescription"),
(_("Notes"), "ColumnNotes"), (_("Notes"), "ColumnNotes"),
(_("Sources"), "ColumnSources") ] (_("Sources"), "ColumnSources") ]
) )
@ -1113,12 +1114,15 @@ class BasePage(object):
place_name = ReportUtils.place_name(self.dbase_, place_handle) place_name = ReportUtils.place_name(self.dbase_, place_handle)
place_hyper = self.place_link(place_handle, place_name, uplink = up) place_hyper = self.place_link(place_handle, place_name, uplink = up)
evt_desc = evt.get_description()
# wrap it all up and return to its callers # wrap it all up and return to its callers
# position 0 = translatable label, position 1 = column class # position 0 = translatable label, position 1 = column class
# position 2 = data # position 2 = data
return [ return [
(_("Date"), "ColumnDate", _dd.display(evt.get_date_object()) ), (_("Date"), "ColumnDate", _dd.display(evt.get_date_object()) ),
(_("Place"), "ColumnPlace", place_hyper) ] (_("Place"), "ColumnPlace", place_hyper),
(_("Description"), "ColumnDescription", evt_desc)]
def dump_ordinance(self, ldsobj, LDSSealedType): def dump_ordinance(self, ldsobj, LDSSealedType):
""" """