diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 21102b39e..c149c5b14 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -4,7 +4,7 @@ # Copyright (C) 2000-2007 Donald N. Allingham # Copyright (C) 2007 Johan Gonqvist # Copyright (C) 2007 Gary Burton -# Copyright (C) 2007-2008 Stephane Charette +# Copyright (C) 2007-2009 Stephane Charette # Copyright (C) 2008 Brian G. Matherly # Copyright (C) 2008 Jason M. Simanek # @@ -294,6 +294,14 @@ class BasePage: value = _dd.display(value) msg = _('Generated by ' 'GRAMPS on %(date)s') % {'date' : value} + + if self.report.options['linkhome']: + home_person = self.report.database.get_default_person() + if home_person: + home_person_url = self.report.build_url_fname_html(home_person.handle, 'ppl', self.up) + home_person_name = home_person.get_primary_name().get_regular_name() + msg += _('
for %s') % (home_person_url, home_person_name) + of.write('\t

%s

\n' % msg) copy_nr = self.report.copyright @@ -362,11 +370,6 @@ class BasePage: of.write('