2007-12-29 Douglas S. Blank <dblank@cs.brynmawr.edu>

* src/DataViews/MyGrampsView.py: show matching surnames
	* src/plugins/OnThisDay.py: refinement
	* src/plugins/SameSurnames.py: changed name
	* src/plugins/DefaultGadgets.py: calendar calls quickreport
	* src/QuickReports.py: new function to call qr directly
	* src/Simple/_SimpleAccess.py: new func to format dates



svn: r9633
This commit is contained in:
Doug Blank
2007-12-30 03:46:39 +00:00
parent bca91ffad0
commit 07bdb19028
7 changed files with 71 additions and 14 deletions

View File

@@ -39,6 +39,8 @@ def run(database, document, main_event):
"""
Loops through the families that the person is a child in, and display
the information about the other children.
Takes an Event handle
"""
# setup the simple access functions
sdb = SimpleAccess(database)
@@ -50,7 +52,7 @@ def run(database, document, main_event):
main_date = main_event.get_date_object()
# display the title
sdoc.title(_("Events of %s") % sdb.event_date(main_event))
sdoc.title(_("Events of %s") % sdb.date_string(main_date))
sdoc.paragraph("")
stab.columns(_("Date"), _("Type"), _("Place"), _("Reference"))
yeartab.columns(_("Date"), _("Type"), _("Place"), _("Reference"))