From ee4f0923aa5bfc8b033abb8b81733b71ac267d27 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sat, 17 Apr 2010 13:14:50 +0000 Subject: [PATCH] Changed a gettext string (home -> active); only show home link if person is selected svn: r15181 --- src/plugins/webreport/NarrativeWeb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 05bf2130b..a522d43c0 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -927,7 +927,7 @@ class BasePage(object): # optional "link-home" feature; see bug report #2736 if self.report.options['linkhome']: center_person = db.get_person_from_gramps_id(self.report.options['pid']) - if center_person: + if center_person and center_person.handle in self.report.person_handles: center_person_url = self.report.build_url_fname_html( center_person.handle, "ppl", self.up) @@ -5891,8 +5891,8 @@ class NavWebOptions(MenuReportOptions): encoding.set_help( _("The encoding to be used for the web files")) menu.add_option(category_name, "encoding", encoding) - linkhome = BooleanOption(_('Include link to home person on every page'), False) - linkhome.set_help(_('Whether to include a link to the home person')) + linkhome = BooleanOption(_('Include link to active person on every page'), False) + linkhome.set_help(_('Include a link to the active person (if they have a webpage)')) menu.add_option(category_name, 'linkhome', linkhome) showbirth = BooleanOption(_("Include a column for birth dates on the index pages"), True)