diff --git a/src/plugins/NarrativeWeb.py b/src/plugins/NarrativeWeb.py index 8e0e3b45f..940e0c40e 100644 --- a/src/plugins/NarrativeWeb.py +++ b/src/plugins/NarrativeWeb.py @@ -289,35 +289,30 @@ class BasePage: 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') + 'GRAMPS on %(date)s') % {'date' : value} + of.write('\t

%s

\n' % msg) - of.write('\t\n') + 'year' : year} + elif 0 < copy_nr < len(_CC): + fname = os.path.join("images", "somerights20.gif") + fname = self.report.build_url_fname(fname, None, self.up) + text = _CC[copy_nr] % {'gif_fname' : fname} + of.write('\t\n' % text) of.write('\t

') of.write('

\n') of.write('\t\t
\n') + of.write('\n') of.write('\n') of.write('') @@ -2719,7 +2714,7 @@ class NavWebReport(Report): # Copy the Creative Commons icon if the Creative Commons # license is requested - if 0 < self.copyright < 7: + if 0 < self.copyright < len(_CC): imgs += ["somerights20.gif"] imgs += ["favicon.ico",