0000976: NarrativeWeb: gramps ID always output regardless of setting

svn: r8296
This commit is contained in:
Brian Matherly 2007-03-14 03:09:38 +00:00
parent 2bb0e0642f
commit e6bfaf39fd
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

@ -1224,7 +1224,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)]: