3829: Narrated Web Site: Type of source ref note is not output

svn: r15143
This commit is contained in:
Doug Blank 2010-04-15 12:40:17 +00:00
parent 82b7d8d168
commit 9aa81df81e

View File

@ -1539,7 +1539,6 @@ class BasePage(object):
# local gettext variables # local gettext variables
_PAGE = _("Page") _PAGE = _("Page")
_CONFIDENCE = _("Confidence") _CONFIDENCE = _("Confidence")
_TEXT = _("Text")
db = self.report.database db = self.report.database
with Html("div", id = "sourcerefs", class_ = "subsection") as section: with Html("div", id = "sourcerefs", class_ = "subsection") as section:
@ -1590,7 +1589,7 @@ class BasePage(object):
if data) if data)
tmp.extend("%s: %s" % tmp.extend("%s: %s" %
(_TEXT, (db.get_note_from_handle(handle).type,
self.get_note_format( self.get_note_format(
db.get_note_from_handle(handle) db.get_note_from_handle(handle)
)) for handle in sref.get_note_list()) )) for handle in sref.get_note_list())