Removed class CitationPage as it will not be created after all.

svn: r18797
This commit is contained in:
Rob G. Healey 2012-01-30 06:38:52 +00:00
parent 216c73d028
commit a9b6b94ba8

View File

@ -4806,30 +4806,6 @@ class SourcePage(BasePage):
web_link += husband_link web_link += husband_link
return web_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): class MediaListPage(BasePage):
def __init__(self, report, title): def __init__(self, report, title):
self.dbase_ = report.database self.dbase_ = report.database