0000976: NarrativeWeb: gramps ID always output regardless of setting

svn: r8297
This commit is contained in:
Brian Matherly 2007-03-14 03:15:47 +00:00
parent be917a4c16
commit 52286c98ee
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-03-13 Brian Matherly <brian@gramps-project.org>
* src/plugins/NarrativeWeb.py: 0000976: NarrativeWeb: gramps ID always
output regardless of setting
2007-03-13 Brian Matherly <brian@gramps-project.org>
* src/plugins/NarrativeWeb.py: 0000969: NarrativeWeb plugin: include the
date in the media object pages

View File

@ -1229,7 +1229,11 @@ class SourcePage(BasePage):
of.write('<h3>%s</h3>\n' % self.page_title.strip())
of.write('<table class="infolist">')
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)]: