From a9b6b94ba83df1129e2a8b25dc2475c78a7d2379 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Mon, 30 Jan 2012 06:38:52 +0000 Subject: [PATCH] Removed class CitationPage as it will not be created after all. svn: r18797 --- src/plugins/webreport/NarrativeWeb.py | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 0fea96a5d..888683cc4 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -4806,30 +4806,6 @@ class SourcePage(BasePage): web_link += husband_link return web_link -class CitationPage(BasePage): - def __(self, report, title, citation_handle): - self.dbase_ = report.database - citation = self.dbase_.get_citation_from_handle(citation_handle) - if not citation: - return - BasePage.__init__(self, report, title, citation.get_gramps_id()) - - of = self.report.create_file(citation_handle, "cit") - citationpage, head, body = self.write_header(_("Citation")) - - # begin citation detail division... - with Html("div", class_ = "content", id = "CitationDetail") as citationdetail: - body += citationdetail - - # add footer section - # add clearline for proper styling - footer = self.write_footer() - body += (fullclear, footer) - - # send page out for processing - # and close the file - self.XHTMLWriter(citationpage, of) - class MediaListPage(BasePage): def __init__(self, report, title): self.dbase_ = report.database