diff --git a/src/plugins/NarrativeWeb.py b/src/plugins/NarrativeWeb.py index c65d6d601..fed29b0b7 100644 --- a/src/plugins/NarrativeWeb.py +++ b/src/plugins/NarrativeWeb.py @@ -114,13 +114,9 @@ _XOFFSET = 5 # stylesheets. _CSS_FILES = [ # First is used as default selection. - [_("Basic - Ash"), 'NWeb-Screen_Basic-Ash.css'], - [_("Basic - Cypress"), 'NWeb-Screen_Basic-Cypress.css'], - [_("Basic - Lilac"), 'NWeb-Screen_Basic-Lilac.css'], - [_("Basic - Peach"), 'NWeb-Screen_Basic-Peach.css'], - [_("Basic - Spruce"), 'NWeb-Screen_Basic-Spruce.css'], - [_("Mainz"), 'NWeb-Screen_Mainz.css'], - [_("Nebraska"), 'NWeb-Screen_Nebraska.css'], + [_("Evergreen"), 'Web_Evergreen.css'], + [_("Nebraska"), 'Web_Nebraska.css'], + [_("Simply Red"), 'Web_Simply-Red.css'], [_("No style sheet"), ''], ] @@ -149,32 +145,32 @@ _CC = [ '' '', + 'src="%(gif_fname)s" />', '' '', + 'src="%(gif_fname)s" />', '' '', + 'src="%(gif_fname)s" />', '' '', + 'src="%(gif_fname)s" />', '' '', + 'src="%(gif_fname)s" />', '' '' + 'src="%(gif_fname)s" />' ] _COPY_OPTIONS = [ @@ -285,28 +281,34 @@ class BasePage: of.write('
\n') of.write('\t\n') - copyright = self.report.copyright - if copyright == 0: - of.write('\t') + value = _dp.parse(time.strftime('%b %d %Y')) + value = _dd.display(value) + + msg = _('Generated by ' + 'GRAMPS on %(date)s') % { 'date' : value } + of.write('\t
') + of.write(msg) + of.write('\n') + + of.write('\t') + copy_nr = self.report.copyright + if copy_nr == 0: if self.author: year = time.localtime()[0] cright = _('© %(year)d %(person)s') % { 'person' : self.author, 'year' : year } of.write('%s' % cright) - of.write('
\n') - of.write('\t