3893: [NarWeb] Narrated Website does not export all sources
svn: r18076
This commit is contained in:
parent
a7bfa88f3b
commit
d79eaa2b93
@ -2943,9 +2943,8 @@ class FamilyPage(BasePage):
|
|||||||
|
|
||||||
class PlaceListPage(BasePage):
|
class PlaceListPage(BasePage):
|
||||||
|
|
||||||
def __init__(self, report, title, place_handles, src_list):
|
def __init__(self, report, title, place_handles):
|
||||||
BasePage.__init__(self, report, title)
|
BasePage.__init__(self, report, title)
|
||||||
self.src_list = src_list # TODO verify that this is correct
|
|
||||||
db = report.database
|
db = report.database
|
||||||
|
|
||||||
of = self.report.create_file("places")
|
of = self.report.create_file("places")
|
||||||
@ -3061,6 +3060,7 @@ class PlacePage(BasePage):
|
|||||||
BasePage.__init__(self, report, title, place.gramps_id)
|
BasePage.__init__(self, report, title, place.gramps_id)
|
||||||
|
|
||||||
of = self.report.create_file(place_handle, "plc")
|
of = self.report.create_file(place_handle, "plc")
|
||||||
|
self.src_list = src_list
|
||||||
self.up = True
|
self.up = True
|
||||||
self.page_title = place.get_title()
|
self.page_title = place.get_title()
|
||||||
placepage, head, body = self.write_header(_("Places"))
|
placepage, head, body = self.write_header(_("Places"))
|
||||||
@ -6468,7 +6468,7 @@ class NavWebReport(Report):
|
|||||||
|
|
||||||
self.progress.set_pass(_("Creating place pages"), len(place_list))
|
self.progress.set_pass(_("Creating place pages"), len(place_list))
|
||||||
|
|
||||||
PlaceListPage(self, self.title, place_list, source_list)
|
PlaceListPage(self, self.title, place_list)
|
||||||
|
|
||||||
for place in place_list:
|
for place in place_list:
|
||||||
PlacePage(self, self.title, place, source_list, place_list)
|
PlacePage(self, self.title, place, source_list, place_list)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user