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
This commit is contained in:
Kees Bakker 2009-02-11 21:27:12 +00:00
parent e5db28ee6d
commit 3bbb27c3d7

View File

@ -1657,6 +1657,7 @@ class SourcesPage(BasePage):
of.write('\t\t</tr>\n')
of.write('\t</thead>\n')
of.write('\t<tbody>\n')
index = 1
for key in keys:
(source, handle) = source_dict[key]
@ -2290,10 +2291,13 @@ class IndividualPage(BasePage):
txt = place or '&nbsp;'
of.write('\t\t\t\t\t<td class="ColumnValue Place">%s</td>\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 '&nbsp;'
of.write('\t\t\t\t\t<td class="ColumnValue Description">%s</td>\n' % txt)
of.write('\t\t\t\t\t<td class="ColumnValue Description">%(txt)s%(sref_links)s</td>\n'
% locals())
# Attributes
# TODO. See format_event