From 3090a184cf93fb568c22aa767f785f2148bf5fa8 Mon Sep 17 00:00:00 2001 From: Tim G L Lyons Date: Mon, 8 Oct 2012 10:04:10 +0000 Subject: [PATCH] 0005860: The descriptions for events are missing in the webreport. svn: r20539 --- gramps/plugins/webreport/narrativeweb.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index ebf0aebdc..fbde87f50 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -888,6 +888,7 @@ class BasePage(object): (_("Event"), "ColumnEvent"), (_("Date"), "ColumnDate"), (_("Place"), "ColumnPlace"), + (_("Description"), "ColumnDescription"), (_("Notes"), "ColumnNotes"), (_("Sources"), "ColumnSources") ] ) @@ -1118,12 +1119,15 @@ class BasePage(object): place_name = ReportUtils.place_name(self.dbase_, place_handle) 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 # position 0 = translatable label, position 1 = column class # position 2 = data return [ (_("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): """