surname page fix
svn: r5063
This commit is contained in:
parent
9f9edb8fe3
commit
0fa5fd601f
@ -1,3 +1,7 @@
|
|||||||
|
2005-08-12 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/plugins/NavWebPage.py: fix surname list when size is
|
||||||
|
greater that 9K people.
|
||||||
|
|
||||||
2005-08-12 Tino Meinen <a.t.meinen@chello.nl>
|
2005-08-12 Tino Meinen <a.t.meinen@chello.nl>
|
||||||
* src/po/nl.po: Updated Dutch translation
|
* src/po/nl.po: Updated Dutch translation
|
||||||
|
|
||||||
|
@ -434,6 +434,8 @@ class BasePage:
|
|||||||
def surname_link(self,of,name,opt_val=None,up=False):
|
def surname_link(self,of,name,opt_val=None,up=False):
|
||||||
handle = self.lnkfmt(name)
|
handle = self.lnkfmt(name)
|
||||||
dirpath = self.build_path(handle,'srn',up)
|
dirpath = self.build_path(handle,'srn',up)
|
||||||
|
|
||||||
|
print self.levels, dirpath
|
||||||
|
|
||||||
of.write('<a href="%s/%s.%s">%s' % (dirpath,handle,self.ext,name))
|
of.write('<a href="%s/%s.%s">%s' % (dirpath,handle,self.ext,name))
|
||||||
if opt_val != None:
|
if opt_val != None:
|
||||||
@ -1815,13 +1817,13 @@ class WebReport(Report.Report):
|
|||||||
|
|
||||||
if len(ind_list) > 1:
|
if len(ind_list) > 1:
|
||||||
IndividualListPage(self.database, self.title, ind_list,
|
IndividualListPage(self.database, self.title, ind_list,
|
||||||
self.options, archive, photo_list, 0)
|
self.options, archive, photo_list, levels)
|
||||||
SurnameListPage(self.database, self.title, ind_list,
|
SurnameListPage(self.database, self.title, ind_list,
|
||||||
self.options, archive, photo_list,
|
self.options, archive, photo_list,
|
||||||
0, SurnameListPage.ORDER_BY_NAME)
|
levels, SurnameListPage.ORDER_BY_NAME)
|
||||||
SurnameListPage(self.database, self.title, ind_list,
|
SurnameListPage(self.database, self.title, ind_list,
|
||||||
self.options, archive, photo_list,
|
self.options, archive, photo_list,
|
||||||
0, SurnameListPage.ORDER_BY_COUNT)
|
levels, SurnameListPage.ORDER_BY_COUNT)
|
||||||
|
|
||||||
local_list = sort_people(self.database,ind_list)
|
local_list = sort_people(self.database,ind_list)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user