From 52286c98eec92b80de46ea68f2a80940bb0bf29a Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Wed, 14 Mar 2007 03:15:47 +0000 Subject: [PATCH] 0000976: NarrativeWeb: gramps ID always output regardless of setting svn: r8297 --- ChangeLog | 4 ++++ src/plugins/NarrativeWeb.py | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7187525e4..3ef8d6556 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-03-13 Brian Matherly + * src/plugins/NarrativeWeb.py: 0000976: NarrativeWeb: gramps ID always + output regardless of setting + 2007-03-13 Brian Matherly * src/plugins/NarrativeWeb.py: 0000969: NarrativeWeb plugin: include the date in the media object pages diff --git a/src/plugins/NarrativeWeb.py b/src/plugins/NarrativeWeb.py index 42f3799e5..0d593f783 100644 --- a/src/plugins/NarrativeWeb.py +++ b/src/plugins/NarrativeWeb.py @@ -1229,7 +1229,11 @@ class SourcePage(BasePage): of.write('

%s

\n' % self.page_title.strip()) of.write('') - for (label,val) in [(_('GRAMPS ID'),source.gramps_id), + grampsid = None + if not self.noid: + grampsid = source.gramps_id + + for (label,val) in [(_('GRAMPS ID'),grampsid), (_('Author'),source.author), (_('Publication information'),source.pubinfo), (_('Abbreviation'),source.abbrev)]: