From 3bbb27c3d74b1249854c8462cf0983fc36fa730b Mon Sep 17 00:00:00 2001 From: Kees Bakker Date: Wed, 11 Feb 2009 21:27:12 +0000 Subject: [PATCH] Bug #2433, issue 4. There was no list of sources anymore. And also the link (in super script) on the Individual page was gone too. * src/plugins/webreport/NarrativeWeb.py svn: r11967 --- src/plugins/webreport/NarrativeWeb.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 4c564d0c2..2839179ee 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -1657,6 +1657,7 @@ class SourcesPage(BasePage): of.write('\t\t\n') of.write('\t\n') of.write('\t\n') + index = 1 for key in keys: (source, handle) = source_dict[key] @@ -2290,10 +2291,13 @@ class IndividualPage(BasePage): txt = place or ' ' of.write('\t\t\t\t\t%s\n' % txt) + # Get the links in super script to the Source References section in the same page + sref_links = self.get_citation_links(event.get_source_references()) # Description txt = event.get_description() txt = txt or ' ' - of.write('\t\t\t\t\t%s\n' % txt) + of.write('\t\t\t\t\t%(txt)s%(sref_links)s\n' + % locals()) # Attributes # TODO. See format_event @@ -2337,7 +2341,7 @@ class IndividualPage(BasePage): for addr in alist: location = ReportUtils.get_address_str(addr) - location += self.get_citation_links( addr.get_source_references() ) + location += self.get_citation_links(addr.get_source_references()) date = _dd.display(addr.get_date_object()) of.write('\t\t\t\n')